jenkins-bot has submitted this change and it was merged. ( 
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(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I892d27fd5e1b7e4a8b495f295d95592f164f7003
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikiEditor
Gerrit-Branch: master
Gerrit-Owner: Fomafix <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to