mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
fixed bug with scrollIntoViewIfNeeded, when up key pressed
This commit is contained in:
parent
9a0fb1cc67
commit
3fe6943237
4 changed files with 419 additions and 375 deletions
10
client.js
10
client.js
|
|
@ -737,6 +737,16 @@ CloudClient.Utils = (function(){
|
|||
lPanel.className = 'panel hidden';
|
||||
};
|
||||
|
||||
this.scrollIntoViewIfNeeded = function(pElement){
|
||||
var lOk = true;
|
||||
if(pElement && pElement.scrollIntoViewIfNeeded)
|
||||
pElement.scrollIntoViewIfNeeded();
|
||||
else lOk = false;
|
||||
|
||||
return lOk;
|
||||
};
|
||||
|
||||
|
||||
this.CloudStatus = [];
|
||||
|
||||
this.addCloudStatus = function(pStatus){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue