r82410 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82409‎ | r82410 | r82411 >
Date:17:59, 18 February 2011
Author:kaldari
Status:deferred
Tags:
Comment:
removing dependancy on jQuery cookie plugin
Modified paths:
  • /trunk/extensions/UploadWizard/resources/mw.UploadWizard.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js
@@ -1690,7 +1690,7 @@
16911691 var upload = _this.newUpload();
16921692
16931693 // check to see if the the skip tutorial cookie is set
1694 - if ( $j.cookie("skiptutorial") == '1' ) {
 1694+ if ( document.cookie.indexOf('skiptutorial=1') != -1 ) {
16951695 // "select" the second step - highlight, make it visible, hide all others
16961696 _this.moveToStep( 'file', function() {
16971697 setTimeout( function() {

Status & tagging log