fix that stupid mobileclient bug in the editor
This commit is contained in:
parent
7862ec2765
commit
816fb04bea
1 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,8 @@ editor = {
|
|||
// sidebar was loaded. load the content. check if there are any redirects. call _check_start_editing.
|
||||
var content = $('#sidebar').removeClass('loading').find('.content');
|
||||
if (data !== undefined) {
|
||||
content.html($(data));
|
||||
var doc = (new DOMParser).parseFromString(data, 'text/html');
|
||||
content[0].replaceChildren(...doc.body.children);
|
||||
}
|
||||
|
||||
var redirect = content.find('span[data-redirect]');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue