This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix
#313
. Repair broken image extension detection regex.
for-closed-social
Justin
10 years ago
parent
c4eeb803e1
commit
eafa365453
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
public/js/app.js
+ 1
- 1
public/js/app.js
View File
@ -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
;
}
Write
Preview
Loading…
Cancel
Save