Index: trunk/extensions/Survey/RELEASE-NOTES |
— | — | @@ -5,7 +5,7 @@ |
6 | 6 | |
7 | 7 | |
8 | 8 | === Version 0.1 === |
9 | | -2011-09-12 |
| 9 | +2011-09-13 |
10 | 10 | |
11 | 11 | Initial release with these features: |
12 | 12 | |
Index: trunk/extensions/Survey/resources/ext.survey.tag.js |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | return rand < options.ratio; |
39 | 39 | } |
40 | 40 | |
41 | | - function initCookieSurvey( options ) { |
| 41 | + function initCookieSurvey( options, $tag ) { |
42 | 42 | if ( hasCookie( options ) || options.ratio === 1 || winsLottery( options ) ) { |
43 | 43 | var cookie = getCookie( options ); |
44 | 44 | |
— | — | @@ -80,7 +80,7 @@ |
81 | 81 | } |
82 | 82 | |
83 | 83 | if ( options.cookie ) { |
84 | | - initCookieSurvey( options ); |
| 84 | + initCookieSurvey( options, $tag ); |
85 | 85 | } |
86 | 86 | else { |
87 | 87 | $tag.mwSurvey( options ); |