Permalink
Browse files

another quick fix for dashboard page details responsive scrolling

  • Loading branch information...
markentingh committed Jun 26, 2017
1 parent 3685392 commit b5d1440b0e30ab45ede12952329b496ba7e556fc
Showing with 7 additions and 1 deletion.
  1. +6 −0 App/Dashboard/Pages/pages.js
  2. +1 −1 App/Scripts/platform/slideshow.js
@@ -50,9 +50,15 @@
setTimeout(function () {
container.html('');
this.slides.previous(count);
setTimeout(function () {
container.parents('.page-details').children().remove();
}, 300);
}, 250);
} else {
this.slides.previous(count);
setTimeout(function () {
container.parents('.page-details').children().remove();
}, 300);
}
for (var x = 1; x <= count; x++) {
this.current_path.pop(count)
@@ -29,7 +29,7 @@ S.slides.prototype.previous = function (count) {
//show previous slide (from -count offset)
console.log(count);
this.current_slide -= (count > 0 ? count : 1);
this.items.css({ left: (this.current_slide * 100 * -1) + "%"});
this.items.css({ left: (this.current_slide * 100 * -1) + "%" });
};
S.slides.prototype.cleanAfter = function () {

0 comments on commit b5d1440

Please sign in to comment.