Move static resources up one level
This commit is contained in:
21
res/static/script/Sharebar.js
Normal file
21
res/static/script/Sharebar.js
Normal file
@@ -0,0 +1,21 @@
|
||||
var Sharebar = {
|
||||
visible: false,
|
||||
|
||||
toggle: function(){
|
||||
if (!Toolbar.visible){
|
||||
Toolbar.toggle();
|
||||
}
|
||||
|
||||
if(this.visible){
|
||||
$("#sharebar").animate({left: "-112"}, 600);
|
||||
$("#btnShare").removeClass("button_highlight");
|
||||
|
||||
this.visible = false;
|
||||
}else{
|
||||
$("#sharebar").animate({left: "120"}, 400);
|
||||
$("#btnShare").addClass("button_highlight");
|
||||
|
||||
this.visible = true;
|
||||
}
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user