Fix unwanted error on mouseup
This commit is contained in:
parent
cf9fd61ce6
commit
2548043adf
@ -1222,7 +1222,9 @@ $(function() {
|
||||
});
|
||||
|
||||
$(document.body).mouseup(function() {
|
||||
selectionBox.remove();
|
||||
if($('#selection_box').length) {
|
||||
selectionBox.remove();
|
||||
}
|
||||
});
|
||||
|
||||
// Edit, Print icon only in edit mode
|
||||
|
||||
Loading…
Reference in New Issue
Block a user