Difference between revisions of "MediaWiki:Gadget-UTCLiveClock.js"

From translatewiki.net
Jump to navigation Jump to search
(protocol relative)
(it's been a day.)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
mw.loader.load( '//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400' );
+
mw.loader.load( window.location.protocol + '//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400' );

Latest revision as of 17:55, 27 June 2012

mw.loader.load( window.location.protocol + '//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400' );