From acf855cbfc1aff48367c5ad407725c2f2cf7b452 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 3 Jun 2014 19:32:06 +0200 Subject: [PATCH] Remove the active class on the help button When the modal dialog is closed --- public/js/vroom.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/js/vroom.js b/public/js/vroom.js index 07e3740..1435b45 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -1744,6 +1744,11 @@ function initVroom(room) { } }); + // Remove the active class on the help button + $('#helpModal').on('hide.bs.modal',function(){ + $('#helpButton').removeClass('active'); + }); + // Ping the room every minutes // Used to detect inactive rooms setInterval(function pingRoom(){