r95595 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r95594
|
r95595
|
r95596
>
Date:
09:11, 27 August 2011
Author:
santhosh
Status:
ok
Tags:
Comment:
Fix
Bug #30593
: WebFonts set cookies for different paths
Use correct path for the cookie value when reset.
Modified paths:
/trunk/extensions/WebFonts/js/webfonts.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/WebFonts/js/webfonts.js
—
—
@@ -63,7 +63,7 @@
64
64
//reset the font size from old configuration
65
65
$("body").css('font-size', $.webfonts.oldconfig["font-size"]);
66
66
//remove the cookie
67
- $.cookie( 'webfonts-font', 'none' );
67
+ $.cookie( 'webfonts-font', 'none', { 'path': '/', 'expires': 30 } );
68
68
},
69
69
70
70
/**
Status & tagging log
15:12, 31 August 2011
😂
(
talk
|
contribs
)
changed the
status
of r95595
[
removed:
new
added:
ok]