Browse Source

Merge pull request #315 from nuss-justin/issue/313

Fix #313. Repair broken image extension detection regex.
pull/322/head
无闻 11 years ago
parent
commit
0f3414ec39
  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