From ddded59a6d8d79ab442f2c67ae8c033f9efd63e1 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Fri, 5 May 2017 16:52:59 -0700 Subject: [PATCH] Remove modals.set_close_handler(). --- static/js/modals.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/static/js/modals.js b/static/js/modals.js index 364ba27c59..0065964487 100644 --- a/static/js/modals.js +++ b/static/js/modals.js @@ -26,10 +26,6 @@ exports.open_overlay = function (opts) { }; }; -exports.set_close_handler = function (name, handler) { - exports.close[name] = handler; -}; - exports.close_modal = function (name) { $("[data-overlay='" + name + "']").removeClass("show");