summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Carver2018-02-22 17:05:03 (GMT)
committerMark Carver2018-02-22 17:05:03 (GMT)
commit698af8d94fb97e9dbc39af77757ea9f6a088d258 (patch)
tree2e7abff66fb97180cc018a6e9442ebf8ac7bea38
parent7d58a10a15068a3bb84887965da22e5cb5215e06 (diff)
Issue #2946791 by markcarver: Syntax error in attributes.js for Internet Explorer 11
-rw-r--r--js/attributes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/attributes.js b/js/attributes.js
index 52259e0..3b11bf3 100644
--- a/js/attributes.js
+++ b/js/attributes.js
@@ -352,7 +352,7 @@
identifier = identifier.replace('#DOUBLE_UNDERSCORE#', '__', identifier);
}
- identifier = identifier.replace(/[^\u002D\u0030-\u0039\u0041-\u005A\u005F\u0061-\u007A\u00A1-\uFFFF]/u, '', identifier);
+ identifier = identifier.replace(/[^\u002D\u0030-\u0039\u0041-\u005A\u005F\u0061-\u007A\u00A1-\uFFFF]/g, '');
identifier = identifier.replace(['/^[0-9]/', '/^(-[0-9])|^(--)/'], ['_', '__'], identifier);
return identifier;