From 7f6bde6910a555e9543f735b032c26775c137b9a Mon Sep 17 00:00:00 2001 From: Wikiki Date: Mon, 5 Mar 2018 21:20:55 +0100 Subject: [PATCH] fix(js): Not defined variable --- dist/bulma-slider.js | 5 ++--- dist/bulma-slider.min.js | 4 ++-- src/extension.js | 5 ++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/dist/bulma-slider.js b/dist/bulma-slider.js index 98d9348..9205a6d 100644 --- a/dist/bulma-slider.js +++ b/dist/bulma-slider.js @@ -13,12 +13,11 @@ function findOutputForSlider(element) { function getSliderOutputPosition(slider) { // Update output position - var newPlace, - minValue; + var newPlace, minValue; var style = window.getComputedStyle(slider, null); // Measure width of range input - sliderWidth = parseInt(style.getPropertyValue('width'), 10); + var sliderWidth = parseInt(style.getPropertyValue('width'), 10); // Figure out placement percentage between left and right of input if (!slider.getAttribute('min')) { diff --git a/dist/bulma-slider.min.js b/dist/bulma-slider.min.js index 62a8deb..2b4bb32 100644 --- a/dist/bulma-slider.min.js +++ b/dist/bulma-slider.min.js @@ -1,2 +1,2 @@ -(function(){'use strict';function a(a){for(var b=a.id,c=document.getElementsByTagName('output'),d=0;de?0:1f?0:1