1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-17 10:30:51 +02:00

Fix: scroll bar showing in Firefox

This commit is contained in:
Luis
2017-03-02 15:35:55 +01:00
parent 2723006399
commit 2d8fb02f48
3 changed files with 4 additions and 3 deletions

View File

@@ -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",

View File

@@ -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();

View File

@@ -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();