logo-mykopkb-voter
This commit is contained in:
@@ -37,7 +37,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||||||
// Select the image element by its ID
|
// Select the image element by its ID
|
||||||
var logoImage = document.getElementById('logo');
|
var logoImage = document.getElementById('logo');
|
||||||
// Set the source of the image dynamically
|
// Set the source of the image dynamically
|
||||||
logoImage.src = 'https://i.ibb.co/txhx2N0/My-Ko-PKB-logo-removebg-preview.png?' + new Date().getTime(); // Replace this URL with your desired image URL
|
logoImage.src = window.location.origin + '/images/MyKoPKB-logo.png?' + new Date().getTime(); // Replace this URL with your desired image URL
|
||||||
|
|
||||||
// Add error handling
|
// Add error handling
|
||||||
logoImage.onerror = function() {
|
logoImage.onerror = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user