cryptpad/customize.dist/DecorateToolbar.js

25 lines
571 B
JavaScript
Raw Normal View History

2016-02-15 16:47:53 +01:00
/*
globals define
*/
2015-01-30 18:12:20 +01:00
define([
'/bower_components/jquery/dist/jquery.min.js'
], function () {
var $ = window.jQuery;
var main = function () {
$.ajax({
url: '/customize/BottomBar.html',
success: function (ret) {
$('iframe').height('96%');
$('body').append(ret);
2016-07-04 15:19:57 +02:00
$('head').append($('<link>', {
rel: 'stylesheet',
href: '/customize/main.css'
}));
}
});
};
return {
main: main
};
2015-01-30 18:12:20 +01:00
});