mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning
synced 2024-11-27 15:40:16 +00:00
Merge "Use mw.config instead of window.mw.config in JavaScript"
This commit is contained in:
commit
7ad7213628
|
@ -20,7 +20,7 @@
|
|||
// Store the result in a cookie (ah, the sweet, sweet irony) to
|
||||
// avoid hitting the geolocation service unnecessarily
|
||||
$.cookie( 'euCookieWarningCountryCode', countryCode, {
|
||||
domain: window.mw.config.get( 'wgCookieDomain' ),
|
||||
domain: mw.config.get( 'wgCookieDomain' ),
|
||||
path: '/',
|
||||
expires: 30
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue