diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index 38b0cbd236..4ba5b7dee6 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -1222,7 +1222,9 @@ $(function() { }); $(document.body).mouseup(function() { - selectionBox.remove(); + if($('#selection_box').length) { + selectionBox.remove(); + } }); // Edit, Print icon only in edit mode