Permalink
Browse files

fix for parent element shifting

  • Loading branch information...
1 parent 9ad8592 commit 365d23ed0a477241f3e8a7454f8a8c8e46f8f08c @ahartung ahartung committed Jun 24, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 ui/progressbar.js
View
@@ -251,6 +251,7 @@ X.progressbar.prototype.kill = function() {
this._doneProgressBar = null;
// reset the original parent position style
- this._parent.style.position = this._parent_position_original;
+ if (this._parent_position_original)
+ this._parent.style.position = this._parent_position_original;
};

0 comments on commit 365d23e

Please sign in to comment.