Santhosh has uploaded a new change for review.

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


Change subject: Donot show ULS in weird positions
......................................................................

Donot 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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UniversalLanguageSelector 
refs/changes/23/64923/1

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: newchange
Gerrit-Change-Id: I5fd9f10d955322abd2623ce8b88792b391553dcd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com>

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

Reply via email to