removing another trace of connectionId

pull/3/head
cTn 11 years ago
parent 64fe1d7b05
commit 6643e248b9

@ -26,7 +26,7 @@ $(document).ready(function() {
var tabs = $('#tabs > ul'); var tabs = $('#tabs > ul');
$('a', tabs).click(function() { $('a', tabs).click(function() {
if ($(this).parent().hasClass('active') == false) { // only initialize when the tab isn't already active 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'); notify('You need to connect before you can view any of the tabs', 'red');
return; return;
} }

Loading…
Cancel
Save