Fix unwanted error on mouseup

This commit is contained in:
Atul Pratap Singh 2012-09-20 01:21:31 +05:30
parent cf9fd61ce6
commit 2548043adf

View File

@ -1222,7 +1222,9 @@ $(function() {
});
$(document.body).mouseup(function() {
selectionBox.remove();
if($('#selection_box').length) {
selectionBox.remove();
}
});
// Edit, Print icon only in edit mode