aboutsummaryrefslogtreecommitdiffstats
path: root/data/bzpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/bzpage.js')
-rw-r--r--data/bzpage.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/data/bzpage.js b/data/bzpage.js
index 208f64f..872f4f1 100644
--- a/data/bzpage.js
+++ b/data/bzpage.js
@@ -348,14 +348,6 @@ function createNewButton (location, after, cmdObj) {
return ;
}
- // creation of button might be conditional on existence of data in constantData
- if ("ifExist" in cmdObj) {
- // We do have constantData now, but we shouldn't TODO
- if (!(cmdObj.ifExist in constantData)) {
- return ;
- }
- }
-
var newButton = document.createElement("input");
newButton.setAttribute("id", newId);
newButton.setAttribute("type", "button");