]> _ Git - fluidbook-toolbox.git/commitdiff
wip #4214 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 22 Sep 2022 15:49:33 +0000 (17:49 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 22 Sep 2022 15:49:33 +0000 (17:49 +0200)
resources/linkeditor/js/linkeditor.links.js
resources/linkeditor/js/linkeditor.zoom.js

index d8b2511daccbc2d19bc70b0c62f79582f54f28b0..d444ac3ac42fae76c8f0db4435bef4db38ef23e4 100644 (file)
@@ -257,7 +257,7 @@ LinkeditorLinks.prototype = {
 
 
     clear: function () {
-
+        $("#linkeditor-links").html('');
     },
 };
 module.exports = LinkeditorLinks;
index 8ae298d947f983397842ef9f4626400aa86062f8..13abe497c19cd83146308b8cc7fcb242ce26ba77 100644 (file)
@@ -92,8 +92,8 @@ LinkeditorZoom.prototype = {
     },
 
     reset: function () {
-        setZoom(1);
-        resetZoomDrag();
+        this.setZoom(1);
+        this.resetZoomDrag();
     },
 };
 module.exports = LinkeditorZoom;