[TASK] Change style in webkit correctly
This commit is contained in:
parent
ae9568b9ff
commit
22781b306c
@ -337,7 +337,9 @@ define(['map/clientlayer', 'map/labelslayer',
|
||||
labelsLayer.updateLayer();
|
||||
}
|
||||
if (e.layer.options.mode) {
|
||||
document.querySelector('.css-mode.' + e.layer.options.mode).media = '';
|
||||
var newStyle = document.querySelector('.css-mode.' + e.layer.options.mode);
|
||||
newStyle.media = '';
|
||||
newStyle.appendChild(document.createTextNode(''));
|
||||
labelsLayer.updateLayer();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user