瀏覽代碼

stepping slider

andre 4 年之前
父節點
當前提交
53a934e4e1
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      configure_thurvserver.tpl

+ 3 - 0
configure_thurvserver.tpl

@@ -236,6 +236,9 @@ var _localLang = {
                                                                 max: {$configoption.qtymaximum},
                                                                 grid: true,
                                                                 grid_snap: setLargerMarkers ? false : true,
+                                                                {if ($configoption.qtymaximum - $configoption.qtyminimum) > 50}
+                                                                    step: 5,
+                                                                {/if}
                                                                 onChange: function() {
                                                                     if (sliderTimeoutId) {
                                                                         clearTimeout(sliderTimeoutId);