Fomafix has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/348050 )

Change subject: Fix deprecation warning since jQuery 3
......................................................................

Fix deprecation warning since jQuery 3

JQMIGRATE: Attribute selector with '#' must be quoted: a:not([href^=#])

Change-Id: I892d27fd5e1b7e4a8b495f295d95592f164f7003
---
M modules/jquery.wikiEditor.preview.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikiEditor 
refs/changes/50/348050/1

diff --git a/modules/jquery.wikiEditor.preview.js 
b/modules/jquery.wikiEditor.preview.js
index 82f7f63..81bd872 100644
--- a/modules/jquery.wikiEditor.preview.js
+++ b/modules/jquery.wikiEditor.preview.js
@@ -86,7 +86,7 @@
                                                                .detach()
                                                                .html( 
data.parse.text );
                                                        $content.append( '<div 
class="visualClear"></div>' )
-                                                               .find( 
'a:not([href^=#])' )
+                                                               .find( 
'a:not([href^="#"])' )
                                                                        .click( 
false );
 
                                                        mw.hook( 
'wikipage.content' ).fire( $content );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I892d27fd5e1b7e4a8b495f295d95592f164f7003
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiEditor
Gerrit-Branch: master
Gerrit-Owner: Fomafix <[email protected]>

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

Reply via email to