Skip to content

Commit

Permalink
fixed the ‘outputs is not defined’ problem
Browse files Browse the repository at this point in the history
fix for
Wikiki#11
  • Loading branch information
enesaktay committed Mar 3, 2018
1 parent 251c6ee commit f6bb4ba
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "bulma-slider",
"description": "Display classic slider more sexy, in different colors, sizes, and states",
"main": "slider.sass",
"version": "1.0.1",
"version": "1.0.2",
"authors": [
"Wikiki <wikiki@protonmail.com> (https://wikiki.github.io/bulma-extensions/overview)"
],
Expand Down
2 changes: 1 addition & 1 deletion dist/bulma-slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Find output DOM associated to the DOM element passed as parameter
function findOutputForSlider(element) {
var idVal = element.id;
outputs = document.getElementsByTagName('output');
var outputs = document.getElementsByTagName('output');
for (var i = 0; i < outputs.length; i++) {
if (outputs[i].htmlFor == idVal)
return outputs[i];
Expand Down
4 changes: 2 additions & 2 deletions dist/bulma-slider.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bulma-slider",
"version": "1.0.1",
"version": "1.0.2",
"description": "Display classic slider more sexy, in different colors, sizes, and states ",
"main": "dist/bulma-slider.sass",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/extension.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Find output DOM associated to the DOM element passed as parameter
function findOutputForSlider(element) {
var idVal = element.id;
outputs = document.getElementsByTagName('output');
var outputs = document.getElementsByTagName('output');
for (var i = 0; i < outputs.length; i++) {
if (outputs[i].htmlFor == idVal)
return outputs[i];
Expand Down

0 comments on commit f6bb4ba

Please # to comment.