jenkins-bot has submitted this change and it was merged.

Change subject: PhpStorm says this is better
......................................................................


PhpStorm says this is better

Change-Id: I0c6cc07c1a26e6e58cb7ebf1869ef20d7ccaf46f
---
M repo/resources/wikibase.ui.entityViewInit.js
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/repo/resources/wikibase.ui.entityViewInit.js 
b/repo/resources/wikibase.ui.entityViewInit.js
index 9eefbd6..8db03c7 100644
--- a/repo/resources/wikibase.ui.entityViewInit.js
+++ b/repo/resources/wikibase.ui.entityViewInit.js
@@ -161,7 +161,7 @@
                function updateWatchLink() {
                        // All four supported skins are using the same ID, the 
other selectors
                        // in mediawiki.page.watch.ajax.js are undocumented and 
probably legacy stuff
-                       var $link = $( '#ca-watch a' );
+                       var $link = $( '#ca-watch' ).find( 'a' );
 
                        // Skip if page is already watched and there is no 
"watch this page" link
                        // Note: The exposed function fails for empty jQuery 
collections

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0c6cc07c1a26e6e58cb7ebf1869ef20d7ccaf46f
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: Hoo man <h...@online.de>
Gerrit-Reviewer: Ricordisamoa <ricordisa...@openmailbox.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to