Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Nov 1, 2024
1 parent c92a2ee commit 7da4fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wombat.js
Original file line number Diff line number Diff line change
Expand Up @@ -5137,7 +5137,7 @@ Wombat.prototype.initDocWriteOpenCloseOverride = function() {
var thisObj = wombat.proxyToObj(fnThis);

if (fnThis.readyState === 'loading') {
if (string && string.startsWith('<!--') && string.indexOf('-->') === -1) {
if (string && string.startsWith('<!--') !== -1 && string.indexOf('-->') === -1) {
return originalFn.call(thisObj, string);
}
}
Expand Down

0 comments on commit 7da4fdc

Please sign in to comment.