Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Commit 3bb81be

Browse files
committed
Fix typo in regexp
1 parent 73bb759 commit 3bb81be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@
257257
this.browser_versions_to_compare[currentBrowserName].forEach(function(targetBrowserVersion) {
258258
['gt', 'ge', 'lt', 'le', 'eq', 'ne'].forEach(function(operator) {
259259
if (this.versionCompare(currentBrowserVersion, targetBrowserVersion, operator)) {
260-
el.classList.add(operator + '-' + targetBrowserVersion.replace(new RegExp('\.'), '-'));
260+
el.classList.add(operator + '-' + targetBrowserVersion.replace(new RegExp('\\.'), '-'));
261261
}
262262
}, this);
263263
}, this);

0 commit comments

Comments
 (0)