Commit c658b5d4 authored by Paul Salaberria's avatar Paul Salaberria

Updated to latest version

parent dfefc47e
<span class="rz-bar"></span> <!-- 0 The slider bar -->
<span class="rz-bar rz-selection"></span> <!-- 1 Highlight between two handles -->
<span class="rz-pointer"></span> <!-- 2 Left slider handle -->
<span class="rz-pointer"></span> <!-- 3 Right slider handle -->
<span class="rz-bubble rz-limit"></span> <!-- 4 Floor label -->
<span class="rz-bubble rz-limit"></span> <!-- 5 Ceiling label -->
<span class="rz-bubble"></span> <!-- 6 Label above left slider handle -->
<span class="rz-bubble"></span> <!-- 7 Label above right slider handle -->
<span class="rz-bubble"></span>
\ No newline at end of file
...@@ -260,7 +260,7 @@ function throttle(func, wait, options) { ...@@ -260,7 +260,7 @@ function throttle(func, wait, options) {
{ {
self.resetLabelsValue(); self.resetLabelsValue();
thrLow(); thrLow();
thrHigh(); if(this.range) thrHigh();
self.resetSlider(); self.resetSlider();
}); });
...@@ -975,15 +975,10 @@ function throttle(func, wait, options) { ...@@ -975,15 +975,10 @@ function throttle(func, wait, options) {
rzSliderHideLimitLabels: '=?', rzSliderHideLimitLabels: '=?',
rzSliderAlwaysShowBar: '=?' rzSliderAlwaysShowBar: '=?'
}, },
template: '<span class="rz-bar"></span>' + // 0 The slider bar
'<span class="rz-bar rz-selection"></span>' + // 1 Highlight between two handles templateUrl: function(elem, attrs) {
'<span class="rz-pointer"></span>' + // 2 Left slider handle return attrs.rzSliderTplUrl || 'rzSliderTpl.html'
'<span class="rz-pointer"></span>' + // 3 Right slider handle },
'<span class="rz-bubble rz-limit"></span>' + // 4 Floor label
'<span class="rz-bubble rz-limit"></span>' + // 5 Ceiling label
'<span class="rz-bubble"></span>' + // 6 Label above left slider handle
'<span class="rz-bubble"></span>' + // 7 Label above right slider handle
'<span class="rz-bubble"></span>', // 8 Range label when the slider handles are close ex. 15 - 17
link: function(scope, elem, attr) link: function(scope, elem, attr)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment