add delete quote button

This commit is contained in:
j 2019-02-02 23:31:55 +05:30
commit 925967ddf0
4 changed files with 29 additions and 3 deletions

View file

@ -172,6 +172,7 @@ document.onreadystatechange = function () {
}
}).on('mouseup', function(event) {
if (currentSelection) {
deselectAllAnnotations()
var selection = window.getSelection()
if (selection.isCollapsed) {
currentSelection = null