remove the last bit of compiled css

This commit is contained in:
ansuz
2017-06-28 14:51:49 +02:00
parent 7a7307d560
commit 5e56ad912e
5 changed files with 11 additions and 1481 deletions

View File

@@ -472,10 +472,19 @@ define([
network: info.network,
$container: $bar,
$contentContainer: $iframe.find('#cke_1_contents'),
legacyStyle: true,
};
toolbar = info.realtime.toolbar = Toolbar.create(configTb);
var src = 'less!/customize/src/less/toolbar.less';
require([
src
], function () {
var $html = $bar.closest('html');
$html
.find('head style[data-original-src="' + src.replace(/less!/, '') + '"]')
.appendTo($html.find('head'));
});
Title.setToolbar(toolbar);
var $rightside = toolbar.$rightside;