mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Merge pull request #315 from nuss-justin/issue/313
Fix #313. Repair broken image extension detection regex.
This commit is contained in:
		@@ -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;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user