From db56a8869de836d2af4b9d50127c70d9c1e28645 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Sun, 7 Dec 2014 13:42:18 -0600 Subject: [PATCH] Fix #417 --- www/js/ui.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/www/js/ui.js b/www/js/ui.js index 7eea62c1..aa0ff3b9 100644 --- a/www/js/ui.js +++ b/www/js/ui.js @@ -738,6 +738,18 @@ $(".add-temp").change(function () { $(".add-temp").prop("checked", $(this).prop("checked")); }); +/* + * Fixes #417 which is caused by changes in Bootstrap 3.3.0 + * (see twbs/bootstrap#15136) + * + * Whenever the active tab in channel options is changed, + * the modal must be updated so that the backdrop is resized + * appropriately. + */ +$("#channeloptions li > a[data-toggle='tab']").on("shown.bs.tab", function () { + $("#channeloptions").data("bs.modal").handleUpdate(); +}); + applyOpts(); (function () {