Browse Source

Fix #313. Repair broken image extension detection regex.

pull/315/head
Justin 10 years ago
parent
commit
eafa365453
  1. 2
      public/js/app.js

2
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;
}

Loading…
Cancel
Save