From b6fb05aeb0b2667e13326d636fbf27fa23611a9e Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 11 Oct 2022 12:52:39 +0200 Subject: [PATCH] wip #5467 @0.25 --- resources/linkeditor/js/linkeditor.rulers.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/linkeditor/js/linkeditor.rulers.js b/resources/linkeditor/js/linkeditor.rulers.js index b48c4ad44..e51881da7 100644 --- a/resources/linkeditor/js/linkeditor.rulers.js +++ b/resources/linkeditor/js/linkeditor.rulers.js @@ -18,14 +18,17 @@ LinkeditorRulers.prototype = { $("#linkeditor-ruler-x").on('mousedown', function (e) { $this.addRuler('y'); + return false; }); $("#linkeditor-ruler-y").on('mousedown', function (e) { $this.addRuler('x'); + return false; }); $(document).on('mousedown', ".ruler", function (e) { $this.movingRuler = $(this); + return false; }); }, -- 2.39.5