We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d64d93c + 0edaa5f commit 19cc0faCopy full SHA for 19cc0fa
client/utils/consoleUtils.js
@@ -60,7 +60,7 @@ export const getAllScriptOffsets = (htmlFile) => {
60
if (ind === -1) {
61
foundJSScript = false;
62
} else {
63
- endFilenameInd = htmlFile.indexOf('.js', ind + startTag.length + 3);
+ endFilenameInd = htmlFile.indexOf('.js', ind + startTag.length + 1);
64
filename = htmlFile.substring(ind + startTag.length, endFilenameInd);
65
lineOffset = htmlFile.substring(0, ind).split('\n').length + hijackConsoleErrorsScriptLength;
66
offs.push([lineOffset, filename]);
0 commit comments