mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Added some animation for user bar
This commit is contained in:
parent
407fdb0486
commit
6d2bfc647b
1 changed files with 5 additions and 1 deletions
|
@ -78,6 +78,10 @@ var padeditbar = (function(){
|
||||||
},
|
},
|
||||||
toolbarClick: function(cmd) {
|
toolbarClick: function(cmd) {
|
||||||
if (self.isEnabled()) {
|
if (self.isEnabled()) {
|
||||||
|
if (cmd == 'showusers') {
|
||||||
|
$('#editbar').animate({height:'72px'});
|
||||||
|
$('#editorcontainerbox').animate({top:'72px'});
|
||||||
|
}
|
||||||
if (cmd == 'save') {
|
if (cmd == 'save') {
|
||||||
padsavedrevs.saveNow();
|
padsavedrevs.saveNow();
|
||||||
} else {
|
} else {
|
||||||
|
@ -119,4 +123,4 @@ var padeditbar = (function(){
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return self;
|
return self;
|
||||||
}());
|
}());
|
||||||
|
|
Loading…
Reference in a new issue