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