Merge "ClientHtml: Fix use of ${var} string interpolation"
This commit is contained in:
commit
541ffa9a32
1 changed files with 1 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ document.documentElement.className = {$jsClassJson};
|
|||
$cookiePrefix = $this->options['clientPrefCookiePrefix'];
|
||||
$script .= <<<JS
|
||||
( function () {
|
||||
var cookie = document.cookie.match( /(?:^|; )${cookiePrefix}mwclientprefs=([^;]+)/ );
|
||||
var cookie = document.cookie.match( /(?:^|; ){$cookiePrefix}mwclientprefs=([^;]+)/ );
|
||||
// For now, only support disabling a feature
|
||||
// Only supports a single feature (modifying a single class) at this stage.
|
||||
// In future this may be expanded to multiple once this has been proven as viable.
|
||||
|
|
|
|||
Loading…
Reference in a new issue