use the slower version of applyHTMLOp

pull/1/head
Caleb James DeLisle 10 years ago
parent b6523adb1f
commit a6b88e276c

@ -460,7 +460,7 @@ define([
throw new Error(); throw new Error();
} }
try { try {
applyHTMLOp(docText, op, dom, rangy, ifrWindow); applyHTMLOpHammer(docText, op, dom, rangy, ifrWindow);
var result = patchString(docText, op.offset, op.toRemove, op.toInsert); var result = patchString(docText, op.offset, op.toRemove, op.toInsert);
var innerHTML = getInnerHTML(dom); var innerHTML = getInnerHTML(dom);
if (result !== innerHTML) { if (result !== innerHTML) {

Loading…
Cancel
Save