Accessibility checks are now made before trying to access local storage. Fixes #174.

This commit is contained in:
n1474335 2017-09-20 22:26:47 +01:00
parent c60ec7c170
commit e2cae035f2
5 changed files with 66 additions and 12 deletions

View file

@ -229,7 +229,7 @@ OperationsWaiter.prototype.editFavouritesClick = function(e) {
filter: ".remove-icon",
onFilter: function (evt) {
const el = editableList.closest(evt.item);
if (el) {
if (el && el.parentNode) {
$(el).popover("destroy");
el.parentNode.removeChild(el);
}