We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c92a2ee commit 7da4fdcCopy full SHA for 7da4fdc
src/wombat.js
@@ -5137,7 +5137,7 @@ Wombat.prototype.initDocWriteOpenCloseOverride = function() {
5137
var thisObj = wombat.proxyToObj(fnThis);
5138
5139
if (fnThis.readyState === 'loading') {
5140
- if (string && string.startsWith('<!--') && string.indexOf('-->') === -1) {
+ if (string && string.startsWith('<!--') !== -1 && string.indexOf('-->') === -1) {
5141
return originalFn.call(thisObj, string);
5142
}
5143
0 commit comments