We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d4cb73 commit 2bad37eCopy full SHA for 2bad37e
1 file changed
Github_Image_Viewer/Github_Image_Viewer.user.js
@@ -46,7 +46,7 @@
46
47
_imageUrl: null,
48
_loaderSrc: "https://assets-cdn.github.com/images/spinners/octocat-spinner-32.gif",
49
- _imageRegex: /(.jpe?g|.png|.gif|.ico|.tiff?)$/,
+ _imageRegex: /.+(\.jpe?g|\.png|\.gif|\.ico|\.tiff?)$/i,
50
51
Initialize: function() {
52
var floater = GithubImageViewer._floater = document.createElement("div");
0 commit comments