Robmoen has uploaded a new change for review.

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

Change subject: In beta, watchstar loads late and is edit tut is positioned 
incorrectly
......................................................................

In beta, watchstar loads late and is edit tut is positioned incorrectly

bug: T91047
Change-Id: I556e7be7838643dc4ab45bf512b64201636c34ca
---
M resources/ext.gather.watchstar/CollectionsWatchstar.js
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Gather 
refs/changes/95/199795/1

diff --git a/resources/ext.gather.watchstar/CollectionsWatchstar.js 
b/resources/ext.gather.watchstar/CollectionsWatchstar.js
index bc79651..7b8544d 100644
--- a/resources/ext.gather.watchstar/CollectionsWatchstar.js
+++ b/resources/ext.gather.watchstar/CollectionsWatchstar.js
@@ -15,7 +15,8 @@
                        name: 'watched',
                        additionalClassNames: 'icon-32px watch-this-article'
                } ),
-               Watchstar = M.require( 'modules/watchstar/Watchstar' );
+               Watchstar = M.require( 'modules/watchstar/Watchstar' ),
+               skin = M.require( 'skin' );
 
        /**
         * A clickable watchstar for managing collections
@@ -64,6 +65,7 @@
                                $el.addClass( unwatchedClass ).removeClass( 
watchedClass );
                        }
                        $el.removeClass( 'hidden' );
+                       skin.emit( 'changed' );
                },
                /** @inheritdoc */
                onStatusToggleUser: function ( ev ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I556e7be7838643dc4ab45bf512b64201636c34ca
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Gather
Gerrit-Branch: master
Gerrit-Owner: Robmoen <[email protected]>

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

Reply via email to