Commit 1ee44571 authored by Tom Chiverton's avatar Tom Chiverton Committed by Valentin Hervieu

IE8 support (#314)

* IE8 support

IE8 requires the ability to use the alternative directive syntax : <div rzslider ... ></div>

Fixes #313

* Update for new default template

* New template for IE8 support

* Update for new template

* oops

* Suggested fixes for #314
parent 5d9c66a5
<div class="rzslider">
<span class="rz-bar-wrapper"><span class="rz-bar"></span></span> <!-- // 0 The slider bar --> <span class="rz-bar-wrapper"><span class="rz-bar"></span></span> <!-- // 0 The slider bar -->
<span class="rz-bar-wrapper"> <span class="rz-bar-wrapper">
<span class="rz-bar rz-selection" ng-style="barStyle"></span> <span class="rz-bar rz-selection" ng-style="barStyle"></span>
...@@ -20,3 +21,4 @@ ...@@ -20,3 +21,4 @@
<span ng-if="t.legend != null" class="rz-tick-legend">{{ t.legend }}</span> <span ng-if="t.legend != null" class="rz-tick-legend">{{ t.legend }}</span>
</li> </li>
</ul> </ul>
</div>
...@@ -1903,7 +1903,8 @@ ...@@ -1903,7 +1903,8 @@
'use strict'; 'use strict';
return { return {
restrict: 'E', restrict: 'AE',
replace: true,
scope: { scope: {
rzSliderModel: '=?', rzSliderModel: '=?',
rzSliderHigh: '=?', rzSliderHigh: '=?',
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
*/ */
@import 'variables.less'; @import 'variables.less';
rzslider { .rzslider {
display: inline-block; display: inline-block;
position: relative; position: relative;
height: @barDimension; height: @barDimension;
......
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