"മീഡിയവിക്കി:Common.js" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

(ചെ.)No edit summary
റ്റാഗ്: Manual revert
(ചെ.)No edit summary
വരി 3: വരി 3:
window.onload = function() {
window.onload = function() {
     // Find all images with the specified URL
     // Find all images with the specified URL
     var markerImages = document.querySelectorAll('img[src="https://tile.openstreetmap.org/v4/marker/pin-m+7e7e7e@2x.png"]');
     var markerImages = document.querySelectorAll('img[src="https://tile.openstreetmap.org/v4/marker/"]');
      
      
     // Loop through the images and change their source
     // Loop through the images and change their source
     for (var i = 0; i < markerImages.length; i++) {
     for (var i = 0; i < markerImages.length; i++) {
         markerImages[i].src = "https://schoolwiki.in/extensions/Kartographer/lib/external/mapbox/images/marker-icon-2x.png";
         markerImages[i].src = "https://schoolwiki.in/File:";
          
          
         // Apply CSS to ensure proper display
         // Apply CSS to ensure proper display
"https://schoolwiki.in/മീഡിയവിക്കി:Common.js" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്