summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/app.js b/public/js/app.js
index 1b4fed7def..62482965e0 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -536,7 +536,7 @@ function initIssue() {
var over = function() {
var $this = $(this);
- if ($this.text().match(/\.(png|jpg|jpeg|gif)$/i) == false) {
+ if ((/\.(png|jpg|jpeg|gif)$/i).test($this.text()) == false) {
return;
}