remove duplicated line

This commit is contained in:
omar abdelzaher sleam
2023-04-05 05:20:29 +02:00
committed by GitHub
parent b0f0eb9ea9
commit 2a7f8d4fff

View File

@@ -9984,7 +9984,6 @@ LGraphNode.prototype.executeAction = function(action)
{
var delta = x < 40 ? -1 : x > widget_width - 40 ? 1 : 0;
if (event.click_time < 200 && delta == 0) {
this.prompt("Value",w.value,function(v) {
this.prompt("Value",w.value,function(v) {
// check if v is a valid equation or a number
if (/^[0-9+\-*/()\s]+$/.test(v)) {