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

Change subject: Do not show ULS in weird positions
......................................................................


Do not show ULS in weird positions

ULS was shown relative to input field position. That will not work
always. Show it in default position - center of screen.

Change-Id: I5fd9f10d955322abd2623ce8b88792b391553dcd
---
M resources/js/ext.uls.ime.js
1 file changed, 1 insertion(+), 3 deletions(-)

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



diff --git a/resources/js/ext.uls.ime.js b/resources/js/ext.uls.ime.js
index e645dc2..0b2c745 100644
--- a/resources/js/ext.uls.ime.js
+++ b/resources/js/ext.uls.ime.js
@@ -173,9 +173,7 @@
                                                        $input.focus();
                                                },
                                                lazyload: false,
-                                               languages: 
mw.ime.getLanguagesWithIME(),
-                                               top: $input.offset().top,
-                                               left: $input.offset().left
+                                               languages: 
mw.ime.getLanguagesWithIME()
                                        } );
 
                                        return $ulsTrigger;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5fd9f10d955322abd2623ce8b88792b391553dcd
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: Amire80 <amir.ahar...@mail.huji.ac.il>
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