1
0
Fork 0
fgdata/Phi/themeswitch.js
Torsten Dreyer 190e8449ce Phi: move URL to the browsers root directory
- rename the directory from webgui to Phi
- let the webserver's root point to Phi instead of Docs
- redirect old /gui/ url to the new location (/)
2015-04-18 13:03:46 +02:00

19 lines
402 B
JavaScript

require([
'jquery',
], function(jquery) {
// nested require to ensure jquery is ready before
// jui_theme_switch starts
require([
'3rdparty/jquery/jquery.jui_theme_switch.min'
], function() {
$(function() {
$("#ui-theme-switcher").jui_theme_switch({
stylesheet_link_id: "ui-theme",
datasource_url: "jquery-ui-themes.json"
});
});
});
});