Browse Source

right file extension

master
edoardoo 9 years ago
parent
commit
2668bbfdff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      main.js

+ 1
- 1
main.js View File

@ -76,7 +76,7 @@ function setVideoListener(){
jQuery(".main-wrap").on('contextmenu', "video", function(e) {
currentVideo.target = jQuery(event.target);
currentVideo.gifUrl = currentVideo.target.parent().data("image").replace("a.gif", ".gif");
currentVideo.gifUrl = currentVideo.target.parent().data("image");
currentVideo.name = currentVideo.target.parents("article").find("h2").text().trim() + ".gif";
});


Loading…
Cancel
Save