Nischayn22 has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/65355


Change subject: Remove data on blanking category input.
......................................................................

Remove data on blanking category input.

Bug: 48654
Change-Id: I31cb4c51a900a5f4c429c3876d63fe52bf1a0265
---
M resources/jquery/jquery.mwCoolCats.js
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard 
refs/changes/55/65355/1

diff --git a/resources/jquery/jquery.mwCoolCats.js 
b/resources/jquery/jquery.mwCoolCats.js
index c304c38..6b0bde2 100644
--- a/resources/jquery/jquery.mwCoolCats.js
+++ b/resources/jquery/jquery.mwCoolCats.js
@@ -31,6 +31,7 @@
 
                var text = _stripText( $input.val() );
                if ( text === '' ) {
+                       $input.removeData( 'title' );
                        return;
                }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/65355
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I31cb4c51a900a5f4c429c3876d63fe52bf1a0265
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Nischayn22 <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to