From 6643e248b9e68edecc705dec91d7603e9b337315 Mon Sep 17 00:00:00 2001 From: cTn Date: Sat, 18 Jan 2014 12:09:12 +0100 Subject: [PATCH] removing another trace of connectionId --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 2d6e5fe9..cb514c66 100644 --- a/main.js +++ b/main.js @@ -26,7 +26,7 @@ $(document).ready(function() { var tabs = $('#tabs > ul'); $('a', tabs).click(function() { if ($(this).parent().hasClass('active') == false) { // only initialize when the tab isn't already active - if (connectionId < 1 || configuration_received == false) { // if there is no active connection, return + if (configuration_received == false) { // if there is no active connection, return notify('You need to connect before you can view any of the tabs', 'red'); return; }