Fix deprecation warning since jQuery 3

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

Change-Id: I892d27fd5e1b7e4a8b495f295d95592f164f7003
This commit is contained in:
Fomafix 2017-04-13 11:17:43 +02:00
parent 364ac4a02b
commit 74229b1d25

View file

@ -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 );