mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-17 18:37:00 +02:00
Fix: scroll bar showing in Firefox
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "webslides",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
"description": "Making HTML presentations easy",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
@@ -31,6 +31,7 @@
|
||||
"babel-cli": "^6.23.0",
|
||||
"babel-core": "^6.23.1",
|
||||
"babel-loader": "^6.3.2",
|
||||
"babel-preset-env": "^1.1.11",
|
||||
"babel-preset-es2015": "^6.22.0",
|
||||
"npm-run-all": "^4.0.2",
|
||||
"rimraf": "^2.6.0",
|
||||
|
@@ -208,7 +208,7 @@ export default class WebSlides {
|
||||
* @see scrollTo
|
||||
*/
|
||||
scrollTransitionToSlide_(isMovingForward, nextSlide, callback) {
|
||||
this.el.style.overflow = 'none';
|
||||
this.el.style.overflow = 'hidden';
|
||||
|
||||
if (!isMovingForward) {
|
||||
nextSlide.moveBeforeFirst();
|
||||
|
@@ -553,7 +553,7 @@ var WebSlides = function () {
|
||||
value: function scrollTransitionToSlide_(isMovingForward, nextSlide, callback) {
|
||||
var _this2 = this;
|
||||
|
||||
this.el.style.overflow = 'none';
|
||||
this.el.style.overflow = 'hidden';
|
||||
|
||||
if (!isMovingForward) {
|
||||
nextSlide.moveBeforeFirst();
|
||||
|
Reference in New Issue
Block a user