From 346a500765bde28e3801c23a56021e9680d9a596 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 1 Mar 2016 11:36:09 +0300 Subject: [PATCH] refactor(sliders): fix onload bug --- src/app/pages/ui/slider/slider.html | 24 +++++++------------ .../components/baPanel/baPanel.directive.js | 2 +- src/app/theme/directives/ionSlider.js | 5 ---- src/app/theme/directives/zoomIn.js | 2 +- src/sass/theme/_layout.scss | 7 ++++++ 5 files changed, 17 insertions(+), 23 deletions(-) diff --git a/src/app/pages/ui/slider/slider.html b/src/app/pages/ui/slider/slider.html index 543cf65e4..b37769202 100644 --- a/src/app/pages/ui/slider/slider.html +++ b/src/app/pages/ui/slider/slider.html @@ -8,8 +8,7 @@
Basic
min="0" max="100" from="45" - disable="false" - timeout="350"> + disable="false">
@@ -20,8 +19,7 @@
With prefix
max="1200" prefix="$" from="420" - disable="false" - timeout="350"> + disable="false">
@@ -32,8 +30,7 @@
With postfix
max="90" postfix="°" from="36" - disable="false" - timeout="350"> + disable="false">
@@ -44,8 +41,7 @@
Two way range
max="1200" from="420" to="900" - disable="false" - timeout="350"> + disable="false">
@@ -56,8 +52,7 @@
With Steps
max="1000" from="300" step="50" - disable="false" - timeout="350"> + disable="false">
@@ -70,8 +65,7 @@
Decorating numbers
step="1000" prettify-separator="." prettify="true" - disable="false" - timeout="350"> + disable="false">
@@ -84,8 +78,7 @@
Using custom values array
'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']" - disable="false" - timeout="350"> + disable="false">
@@ -95,8 +88,7 @@
Disabled
min="0" max="100" from="45" - disable="true" - timeout="350"> + disable="true">
diff --git a/src/app/theme/components/baPanel/baPanel.directive.js b/src/app/theme/components/baPanel/baPanel.directive.js index b7ae4b272..98deb0695 100644 --- a/src/app/theme/components/baPanel/baPanel.directive.js +++ b/src/app/theme/components/baPanel/baPanel.directive.js @@ -21,7 +21,7 @@ }); }, template: function(el, attrs) { - var res = '