From fb1f8dd239c6362520a0f28bf6b9146fa7b4047a Mon Sep 17 00:00:00 2001 From: muxator Date: Mon, 27 Aug 2018 01:34:01 +0200 Subject: [PATCH] toolbar: missing var declaration Without this, Etherpad would fail to start in strict mode: "ReferenceError: SelectButton is not defined" --- src/node/utils/toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/utils/toolbar.js b/src/node/utils/toolbar.js index eaa1d4217..67ce12593 100644 --- a/src/node/utils/toolbar.js +++ b/src/node/utils/toolbar.js @@ -116,7 +116,7 @@ _.extend(Button.prototype, { -SelectButton = function (attributes) { +var SelectButton = function (attributes) { this.attributes = attributes; this.options = []; };