mirror of https://github.com/ColorlibHQ/AdminLTE
pull/1109/head
parent
8438a30eaa
commit
bcd808d203
|
@ -62,7 +62,7 @@ $.AdminLTE.options = {
|
||||||
//native touch experience with touch devices. If you
|
//native touch experience with touch devices. If you
|
||||||
//choose to enable the plugin, make sure you load the script
|
//choose to enable the plugin, make sure you load the script
|
||||||
//before AdminLTE's app.js
|
//before AdminLTE's app.js
|
||||||
enableFastclick: true,
|
enableFastclick: false,
|
||||||
//Control Sidebar Options
|
//Control Sidebar Options
|
||||||
enableControlSidebar: true,
|
enableControlSidebar: true,
|
||||||
controlSidebarOptions: {
|
controlSidebarOptions: {
|
||||||
|
@ -672,7 +672,7 @@ function _init() {
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* EXPLICIT BOX CONTROLS
|
* EXPLICIT BOX CONTROLS
|
||||||
* -----------------------
|
* -----------------------
|
||||||
* This is a custom plugin to use with the component BOX. It allows you to activate
|
* This is a custom plugin to use with the component BOX. It allows you to activate
|
||||||
|
@ -691,12 +691,12 @@ function _init() {
|
||||||
$.AdminLTE.boxWidget.activate(this);
|
$.AdminLTE.boxWidget.activate(this);
|
||||||
};
|
};
|
||||||
|
|
||||||
$.fn.toggleBox = function(){
|
$.fn.toggleBox = function () {
|
||||||
var button = $($.AdminLTE.boxWidget.selectors.collapse, this);
|
var button = $($.AdminLTE.boxWidget.selectors.collapse, this);
|
||||||
$.AdminLTE.boxWidget.collapse(button);
|
$.AdminLTE.boxWidget.collapse(button);
|
||||||
};
|
};
|
||||||
|
|
||||||
$.fn.removeBox = function(){
|
$.fn.removeBox = function () {
|
||||||
var button = $($.AdminLTE.boxWidget.selectors.remove, this);
|
var button = $($.AdminLTE.boxWidget.selectors.remove, this);
|
||||||
$.AdminLTE.boxWidget.remove(button);
|
$.AdminLTE.boxWidget.remove(button);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue