Skip to content

Commit 7da4fdc

Browse files
committed
fix typo
1 parent c92a2ee commit 7da4fdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wombat.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5137,7 +5137,7 @@ Wombat.prototype.initDocWriteOpenCloseOverride = function() {
51375137
var thisObj = wombat.proxyToObj(fnThis);
51385138

51395139
if (fnThis.readyState === 'loading') {
5140-
if (string && string.startsWith('<!--') && string.indexOf('-->') === -1) {
5140+
if (string && string.startsWith('<!--') !== -1 && string.indexOf('-->') === -1) {
51415141
return originalFn.call(thisObj, string);
51425142
}
51435143
}

0 commit comments

Comments
 (0)