From 6d2bfc647b3710f04355b0a95ea0b02476b5a72f Mon Sep 17 00:00:00 2001 From: John McLear Date: Sat, 26 Mar 2011 14:50:13 +0000 Subject: [PATCH] Added some animation for user bar --- static/js/pad_editbar.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index 8689dacbb..ef89478f7 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -78,6 +78,10 @@ var padeditbar = (function(){ }, toolbarClick: function(cmd) { if (self.isEnabled()) { + if (cmd == 'showusers') { + $('#editbar').animate({height:'72px'}); + $('#editorcontainerbox').animate({top:'72px'}); + } if (cmd == 'save') { padsavedrevs.saveNow(); } else { @@ -119,4 +123,4 @@ var padeditbar = (function(){ } }; return self; -}()); \ No newline at end of file +}());