Fixed "Removing last Tag from photo not possible in Firefox #269"

pull/354/head
Tobias Reich 9 years ago
parent 275e653b1a
commit a7192d1831

4
dist/main.js vendored

File diff suppressed because one or more lines are too long

@ -384,10 +384,13 @@ lychee.loadDropbox = function(callback) {
}
lychee.removeHTML = function(html) {
lychee.removeHTML = function(html = '') {
if (html==='') return html;
var tmp = document.createElement('DIV');
tmp.innerHTML = html;
return tmp.textContent || tmp.innerText;
}

Loading…
Cancel
Save