Skip to content

Commit

Permalink
fixed slider download
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiiBuh committed Mar 16, 2020
1 parent e06bd90 commit 0674788
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions firefox/js/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const spanClass = "ltpMr Slqrh";
const articleClassLarge = "M9sTE L_LMM JyscU ePUX4";
const articleClassSmall = "M9sTE h0YNM SgTZ1 ";

const sliderContentClass = "_-1_m6";
const sliderContentClass = "Ckrof";
const imageContentClass = "FFVAD";
const videoContentClass = "tWeCl";

Expand Down Expand Up @@ -105,7 +105,8 @@ class Button {
"user": "HuiBuh",
"type": "image",
"accountName": accountName
}); } else if (typeof (sliderDownload) !== "undefined" && sliderDownload.length > 0) {
});
} else if (typeof (sliderDownload) !== "undefined" && sliderDownload.length > 0) {

var pictureSlider = [];
let imageSlide = null;
Expand All @@ -122,7 +123,7 @@ class Button {
imageSlide = null;
} else if (videoSlide.length > 0) {
pictureSlider.push(videoSlide);
imageSlide = 0;
videoSlide = null;
}
}

Expand Down
2 changes: 1 addition & 1 deletion firefox/js/downloadHomePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const homepageButtonClass = "dCJp8 afkep _0mzm-";

const homepagePictureClass = "FFVAD";
const homepageVideoClass = "tWeCl";
const homepageSliderClass = "_-1_m6";
const homepageSliderClass = "Ckrof";

const accountNameClass = "sqdOP yWX7d _8A5w5 ZIAjV ";

Expand Down

0 comments on commit 0674788

Please sign in to comment.