Index: trunk/extensions/Vector/modules/ext.vector.sectionEditLinks.css |
— | — | @@ -4,10 +4,12 @@ |
5 | 5 | } |
6 | 6 | span.vector-editLink a { |
7 | 7 | padding-left: 18px; |
| 8 | + /* @embed */ |
8 | 9 | background-image: url(images/edit-faded.png); |
9 | 10 | background-position: left top; |
10 | 11 | background-repeat: no-repeat; |
11 | 12 | } |
12 | 13 | span.vector-editLink a:hover { |
| 14 | + /* @embed */ |
13 | 15 | background-image: url(images/edit.png); |
14 | 16 | } |
Index: trunk/extensions/Vector/modules/ext.vector.sectionEditLinks.js |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | ) ); |
14 | 14 | // 0 = not tracked, 1 = tracked with old version, 2 = tracked with new version |
15 | 15 | bucket = ( Math.random() * 100 ) < odds ? Number( Math.random() < 0.5 ) + 1 : 0; |
16 | | - $.cookie( 'ext.vector.sectionEditLinks-bucket', bucket ); |
| 16 | + $.cookie( 'ext.vector.sectionEditLinks-bucket', bucket, { 'path': '/', 'expires': 30 } ); |
17 | 17 | // If we are going to track this person from now on, let's also track which bucket we put |
18 | 18 | // them into and when |
19 | 19 | if ( bucket > 0 && 'trackActionWithInfo' in $ ) { |