From 6eba32bb22c3b4245ea0b68296f1778e98c466b6 Mon Sep 17 00:00:00 2001 From: Oleg Sh <> Date: Sat, 16 Mar 2024 15:14:01 +0100 Subject: [PATCH] Fixed delete tool --- script/pages/editor/ui/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/pages/editor/ui/editor.js b/script/pages/editor/ui/editor.js index afcb9be..0b7b0c5 100644 --- a/script/pages/editor/ui/editor.js +++ b/script/pages/editor/ui/editor.js @@ -218,7 +218,7 @@ Editor.prototype.initButtonActions = function() { userAction(this.id); self.restButtons ('DeleteObject'); - self.application.SetHandler(document.getElementById('DeleteObject').className != "" ? new DeleteGraphHandler(tself.applicationhis) : new DefaultHandler(self.application)); + self.application.SetHandler(document.getElementById('DeleteObject').className != "" ? new DeleteGraphHandler(self.application) : new DefaultHandler(self.application)); } document.getElementById('DeleteAll').onclick = function ()