• Robert Knight's avatar
    Fix `deleteIfNewAndEmpty()` being called after annotation was destroyed · 8db47b83
    Robert Knight authored
    The correct fix would be to remove new annotations with an empty draft
    in the reducer function that handles new annotations being created. That
    is not currently possible because drafts are not stored in the Redux
    store. Therefore this commit just manually de-registers the listener
    when <annotation> goes out of scope.
    8db47b83
Name
Last commit
Last update
..
annotation-share-dialog-test.js Loading commit data...
annotation-test.js Loading commit data...
annotation-thread-test.js Loading commit data...
excerpt-overflow-monitor-test.js Loading commit data...
excerpt-test.js Loading commit data...
form-input-test.coffee Loading commit data...
form-validate-test.coffee Loading commit data...
group-list-test.js Loading commit data...
h-tooltip-test.js Loading commit data...
markdown-test.js Loading commit data...
publish-annotation-btn-test.js Loading commit data...
search-input-test.js Loading commit data...
search-status-bar-test.js Loading commit data...
selection-tabs-test.js Loading commit data...
share-dialog-test.js Loading commit data...
sidebar-tutorial-test.js Loading commit data...
sort-dropdown-test.js Loading commit data...
spinner-test.js Loading commit data...
status-button-test.coffee Loading commit data...
tag-editor-test.js Loading commit data...
timestamp-test.js Loading commit data...
util.js Loading commit data...
window-scroll-test.js Loading commit data...