diff --git a/www/code/html-patcher.js b/www/code/html-patcher.js index 8859c668e..5ed6617a0 100644 --- a/www/code/html-patcher.js +++ b/www/code/html-patcher.js @@ -95,7 +95,7 @@ define([ if (PARANOIA && getInnerHTML(dom) !== docText) { throw new Error(); } } - if (PARANOIA && docText.indexOf(content, idx) !== idx) { throw new Error() } + if (PARANOIA && docText.indexOf(content, idx) !== idx) { throw new Error(); } return idx; };