MediaWiki:Gadget-UTCLiveClock.js: Difference between revisions
no edit summary
Johnrdorazio (talk | contribs) No edit summary |
Johnrdorazio (talk | contribs) No edit summary |
||
Line 113: | Line 113: | ||
// so currently this is limited to MediaWiki.org | // so currently this is limited to MediaWiki.org | ||
var dbName = mw.config.get( 'wgDBname' ); | var dbName = mw.config.get( 'wgDBname' ); | ||
var showOutsideDropdown = dbName === 'mediawikiwiki' || dbName === 'enwiki'; | var showOutsideDropdown = true; // dbName === 'mediawikiwiki' || dbName === 'enwiki'; | ||
var clockLocation = document.getElementById( 'p-vector-user-menu-overflow' ) && showOutsideDropdown ? | var clockLocation = document.getElementById( 'p-vector-user-menu-overflow' ) && showOutsideDropdown ? | ||
'p-vector-user-menu-overflow' : 'p-personal'; | 'p-vector-user-menu-overflow' : 'p-personal'; |