From 27885df64ec256eb4c265d66a25bfd51e138297d Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 23 Mar 2018 10:25:03 -0700 Subject: [PATCH] Fix binding of the fallback handler. --- frontends/etiquette_flask/static/js/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/etiquette_flask/static/js/editor.js b/frontends/etiquette_flask/static/js/editor.js index b020dbf..8b51a68 100644 --- a/frontends/etiquette_flask/static/js/editor.js +++ b/frontends/etiquette_flask/static/js/editor.js @@ -166,7 +166,7 @@ function Editor(elements, on_open, on_save, on_cancel) */ if (func == undefined) { - return fallback; + return fallback.bind(this); } var bindable = function()