[Backport] Fixing css loads for plugin system

stable
Alejandro Alonso 2016-01-05 14:36:28 +01:00 committed by David Barragán Merino
parent e6dfca417a
commit c30e615b7c
1 changed files with 1 additions and 1 deletions

View File

@ -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) ->