From c15587fad03b77d34bac76e7cf269c0e474f3ad4 Mon Sep 17 00:00:00 2001 From: Keyur Patel Date: Thu, 1 Oct 2020 18:19:22 +0530 Subject: [PATCH] Updated "Visualize" Button --- public/browser/board.js | 4 ++-- public/browser/bundle.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/browser/board.js b/public/browser/board.js index 523870c..79777bf 100644 --- a/public/browser/board.js +++ b/public/browser/board.js @@ -826,7 +826,7 @@ Board.prototype.toggleButtons = function() { document.getElementById("startButtonBidirectional").onclick = () => { - document.getElementById("startButtonStart").innerHTML = '' + document.getElementById("startButtonStart").innerHTML = '' this.currentAlgorithm = "bidirectional"; this.currentHeuristic = "manhattanDistance"; if (this.numberOfObjects) { @@ -863,7 +863,7 @@ Board.prototype.toggleButtons = function() { } document.getElementById("startButtonAStar3").onclick = () => { - document.getElementById("startButtonStart").innerHTML = '' + document.getElementById("startButtonStart").innerHTML = '' this.currentAlgorithm = "CLA"; this.currentHeuristic = "extraPoweredManhattanDistance" this.changeStartNodeImages(); diff --git a/public/browser/bundle.js b/public/browser/bundle.js index 13b5b69..9eb995d 100644 --- a/public/browser/bundle.js +++ b/public/browser/bundle.js @@ -1144,7 +1144,7 @@ Board.prototype.toggleButtons = function() { document.getElementById("startButtonBidirectional").onclick = () => { - document.getElementById("startButtonStart").innerHTML = '' + document.getElementById("startButtonStart").innerHTML = '' this.currentAlgorithm = "bidirectional"; this.currentHeuristic = "manhattanDistance"; if (this.numberOfObjects) { @@ -1181,7 +1181,7 @@ Board.prototype.toggleButtons = function() { } document.getElementById("startButtonAStar3").onclick = () => { - document.getElementById("startButtonStart").innerHTML = '' + document.getElementById("startButtonStart").innerHTML = '' this.currentAlgorithm = "CLA"; this.currentHeuristic = "extraPoweredManhattanDistance" this.changeStartNodeImages();