MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* Any JavaScript here will be loaded for all users on every page load. */ | /* Any JavaScript here will be loaded for all users on every page load. */ | ||
if ( mw.config.get( 'wgPageName' ) === 'User:Stitch/Test' ) { | if ( mw.config.get( 'wgPageName' ) === 'User:Stitch/Test' || mw.config.get( 'wgPageName' ) === 'Villages') { | ||
maplocation = document.getElementById('map'); | maplocation = document.getElementById('map'); | ||
maplocation.innerHTML = "<iframe src='https://map.emfcamp.org/' style='width: 100%; height: | maplocation.innerHTML = "<iframe src='https://map.emfcamp.org/' style='width: 100%; height: 600px'></iframe>"; | ||
} | } |
Revision as of 08:35, 13 August 2018
/* Any JavaScript here will be loaded for all users on every page load. */ if ( mw.config.get( 'wgPageName' ) === 'User:Stitch/Test' || mw.config.get( 'wgPageName' ) === 'Villages') { maplocation = document.getElementById('map'); maplocation.innerHTML = "<iframe src='https://map.emfcamp.org/' style='width: 100%; height: 600px'></iframe>"; }