Browse Source

fix: Make slider start in middle on Firefox

gh-pages
Gregor MacLennan 9 years ago
parent
commit
20a60c4f9c
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      index.js

+ 1
- 0
index.js View File

58
     range.min = 0
58
     range.min = 0
59
     range.max = 1
59
     range.max = 1
60
     range.step = 'any'
60
     range.step = 'any'
61
+    range.value = 0.5
61
     this._addEvents()
62
     this._addEvents()
62
     this._updateLayers()
63
     this._updateLayers()
63
     this._updateClip()
64
     this._updateClip()

Loading…
Cancel
Save