Use smooth scrolling for the windows when not in viewport
Change-Id: I94591d17ba023d9a13e2436ddebfd0209e076845
This commit is contained in:
committed by
Gerrit Code Review
parent
b057531602
commit
6a9b31ad26
@@ -474,7 +474,7 @@
|
|||||||
$.ime.preferences.enable();
|
$.ime.preferences.enable();
|
||||||
mw.ime.setup();
|
mw.ime.setup();
|
||||||
this.$template.find( '.enabled-only' ).removeClass( 'hide' );
|
this.$template.find( '.enabled-only' ).removeClass( 'hide' );
|
||||||
this.$template[0].scrollIntoView();
|
this.$template.scrollIntoView();
|
||||||
this.prepareToggleButton();
|
this.prepareToggleButton();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -142,7 +142,7 @@
|
|||||||
top: top,
|
top: top,
|
||||||
left: left
|
left: left
|
||||||
} );
|
} );
|
||||||
this.$window[0].scrollIntoView();
|
this.$window.scrollIntoView();
|
||||||
},
|
},
|
||||||
|
|
||||||
show: function () {
|
show: function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user