Skip to content

Commit

Permalink
Fix strange errors in old IE versions due to browser bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
npomaroli committed Mar 11, 2015
1 parent bc9f1bc commit c4f817a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build/changelog/entries/2015/03/10194.SUP-58.bugfix
@@ -0,0 +1 @@
Possible errors when deleting elements with old Internet Explorer versions have been fixed.
2 changes: 1 addition & 1 deletion src/lib/aloha/engine.js
Expand Up @@ -1165,7 +1165,7 @@ define([
ref.contentEditable = 'false';
}

var origHeight = ref.offsetHeight;
var origHeight = Dom.getOffsetHeight(ref);
if (origHeight == 0) {
throw "isExtraneousLineBreak: original height is zero, bug?";
}
Expand Down

0 comments on commit c4f817a

Please sign in to comment.