mirror of
https://github.com/gesquive/slate.git
synced 2024-12-12 08:50:40 +01:00
replace append function with appendChild
append is still experimental and does not work in edge/safari fixes #2
This commit is contained in:
parent
b869797ba4
commit
9f119c5305
@ -231,7 +231,7 @@ var renderPlainTile = function(tile) {
|
||||
|
||||
|
||||
domainDiv.appendChild(beforeDiv);
|
||||
domainDiv.append(urlParts.domain);
|
||||
domainDiv.appendChild(document.createTextNode(urlParts.domain));
|
||||
domainDiv.appendChild(afterDiv);
|
||||
|
||||
var top = (boxHeight + margin)/2 - domainDiv.clientHeight/2;
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user