From d8e88e6091b9c98913dd128cebf458a667ea4ee7 Mon Sep 17 00:00:00 2001 From: ntoff Date: Mon, 18 Dec 2017 22:48:52 +1000 Subject: [PATCH] add extra class to removal selector more specific selector for stock distance button removal --- octoprint_extradistance/static/js/extradistance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octoprint_extradistance/static/js/extradistance.js b/octoprint_extradistance/static/js/extradistance.js index 2ab80c8..9abb37c 100644 --- a/octoprint_extradistance/static/js/extradistance.js +++ b/octoprint_extradistance/static/js/extradistance.js @@ -12,7 +12,7 @@ $(function() { self.control.distances2 = ko.observableArray([5, 50, 100, 150]); if ($("#touch body").length == 0) { - $(".distance").remove(); + $(".jog-panel .distance").remove(); $("#control-jog-z").after("\
\
\