diff --git a/controls/strip/strip.css b/controls/strip/strip.css index 5b81d8a..c1e8ac4 100644 --- a/controls/strip/strip.css +++ b/controls/strip/strip.css @@ -127,7 +127,7 @@ overflow: hidden; cursor: pointer; - transition: left 0.1s; + /* transition: left 0.1s; */ } .strip .tabs .tab > div.back-loading { diff --git a/controls/strip/strip_c.js b/controls/strip/strip_c.js index 92917bc..8b54fe1 100644 --- a/controls/strip/strip_c.js +++ b/controls/strip/strip_c.js @@ -263,13 +263,11 @@ var strip_c = function(spec, my) { if((idx + 1) * (my.TAB_WIDTH + my.TAB_MARGIN) + tabs_left > my.wrapper_el.width()) { my.tabs_el.css({ - 'transition': 'left 0.2s', 'left': (my.wrapper_el.width() - (idx + 1) * (my.TAB_WIDTH + my.TAB_MARGIN)) + 'px' }); } else if(-tabs_left > idx * (my.TAB_WIDTH + my.TAB_MARGIN)) { my.tabs_el.css({ - 'transition': 'left 0.2s', 'left': -(idx * (my.TAB_WIDTH + my.TAB_MARGIN)) + 'px' }); }