web/res/js/jquery.touchsplitter.js
changeset 1514 5869151a1f2f
parent 1304 10974bff4dae
--- a/web/res/js/jquery.touchsplitter.js	Wed Dec 11 11:04:27 2019 +0100
+++ b/web/res/js/jquery.touchsplitter.js	Wed Dec 11 14:30:18 2019 +0100
@@ -63,7 +63,7 @@
         testEm.remove();
         testCalc = $('<div class="test-calc"></div>');
         testCalc.appendTo(this.element);
-        this.support.calc = true;
+        this.support.calc = false;
         testCalc.remove();
         if (options.orientation != null) {
           if (options.orientation === "vertical") {
@@ -157,7 +157,7 @@
         }
         this.barThicknessPx = barThick / 2;
         this.barThickness = .04;
-        this.barPosition = options.barPosition || 0.5;
+        this.barPosition = 0.5;
         this.dragging = false;
         this.initMouse = 0;
         this.initBarPosition = 0;