Skip to content

Commit b1a4a82

Browse files
Merge pull request #644 from g-maxime/fix-checker-oldqt
x Missing startsWith function on old Qt versions
2 parents 8ac0e26 + b06e59b commit b1a4a82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/Resource/html/js/checker/table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ var checkerTable = (function() {
111111
nodej.data('fileId', fileId);
112112

113113
// Add policy, display and verbosity
114-
if (fileName.startsWith("attachment:")) {
114+
if (fileName.substring(0, 11) == "attachment:") {
115115
nodej.data('attachment', "true");
116116
} else {
117117
nodej.data('attachment', "false");

0 commit comments

Comments
 (0)