[Backport] Fixing css loads for plugin system
parent
e6dfca417a
commit
c30e615b7c
|
@ -28,7 +28,7 @@ window.getDecorators = ->
|
||||||
return window._decorators
|
return window._decorators
|
||||||
|
|
||||||
loadStylesheet = (path) ->
|
loadStylesheet = (path) ->
|
||||||
$('head').append('<link rel="stylesheet" href="' + path + '" type="stylesheet" />')
|
$('head').append('<link rel="stylesheet" href="' + path + '" type="text/css" />')
|
||||||
|
|
||||||
loadPlugin = (pluginPath) ->
|
loadPlugin = (pluginPath) ->
|
||||||
return new Promise (resolve, reject) ->
|
return new Promise (resolve, reject) ->
|
||||||
|
|
Loading…
Reference in New Issue