app/assets/javascripts/arctic_admin.js in arctic_admin-1.2.4 vs app/assets/javascripts/arctic_admin.js in arctic_admin-1.2.5

- old
+ new

@@ -5,18 +5,20 @@ $('#sidebar').click(function (e) { var position = $(this).position(); var width = $(this).width(); if (e.pageX < position.left) { if ($(this).css('right') == '0px') { + $(this).css('position', 'fixed'); $(this).animate({ right: "-="+width }, 600, function() { animationFilterDone = true; }); } else { $(this).animate({ right: "+="+width }, 600, function() { + $(this).css('position', 'absolute'); animationFilterDone = true; }); } } });