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

From translatewiki.net
Jump to navigation Jump to search
(protocol relative)
(really protorel?)
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' );

Revision as of 10:27, 26 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' );