From bcd808d20395e8d7893f736f1c235acf1185fdef Mon Sep 17 00:00:00 2001 From: Abdullah Almsaeed Date: Tue, 28 Jun 2016 16:03:18 -0400 Subject: [PATCH] - --- dist/js/app.js | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/dist/js/app.js b/dist/js/app.js index cd312ab12..20824619d 100644 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -62,7 +62,7 @@ $.AdminLTE.options = { //native touch experience with touch devices. If you //choose to enable the plugin, make sure you load the script //before AdminLTE's app.js - enableFastclick: true, + enableFastclick: false, //Control Sidebar Options enableControlSidebar: true, controlSidebarOptions: { @@ -146,8 +146,8 @@ $(function () { //Extend options if external options exist if (typeof AdminLTEOptions !== "undefined") { $.extend(true, - $.AdminLTE.options, - AdminLTEOptions); + $.AdminLTE.options, + AdminLTEOptions); } //Easy access to options @@ -344,8 +344,8 @@ function _init() { //Enable expand on hover for sidebar mini if ($.AdminLTE.options.sidebarExpandOnHover - || ($('body').hasClass('fixed') - && $('body').hasClass('sidebar-mini'))) { + || ($('body').hasClass('fixed') + && $('body').hasClass('sidebar-mini'))) { this.expandOnHover(); } }, @@ -355,14 +355,14 @@ function _init() { //Expand sidebar on hover $('.main-sidebar').hover(function () { if ($('body').hasClass('sidebar-mini') - && $("body").hasClass('sidebar-collapse') - && $(window).width() > screenWidth) { + && $("body").hasClass('sidebar-collapse') + && $(window).width() > screenWidth) { _this.expand(); } }, function () { if ($('body').hasClass('sidebar-mini') - && $('body').hasClass('sidebar-expanded-on-hover') - && $(window).width() > screenWidth) { + && $('body').hasClass('sidebar-expanded-on-hover') + && $(window).width() > screenWidth) { _this.collapse(); } }); @@ -455,7 +455,7 @@ function _init() { e.preventDefault(); //If the sidebar is not open if (!sidebar.hasClass('control-sidebar-open') - && !$('body').hasClass('control-sidebar-open')) { + && !$('body').hasClass('control-sidebar-open')) { //Open the sidebar _this.open(sidebar, o.slide); } else { @@ -563,8 +563,8 @@ function _init() { if (!box.hasClass("collapsed-box")) { //Convert minus into plus element.children(":first") - .removeClass(_this.icons.collapse) - .addClass(_this.icons.open); + .removeClass(_this.icons.collapse) + .addClass(_this.icons.open); //Hide the content box_content.slideUp(_this.animationSpeed, function () { box.addClass("collapsed-box"); @@ -572,8 +572,8 @@ function _init() { } else { //Convert plus into minus element.children(":first") - .removeClass(_this.icons.open) - .addClass(_this.icons.collapse); + .removeClass(_this.icons.open) + .addClass(_this.icons.collapse); //Show the content box_content.slideDown(_this.animationSpeed, function () { box.removeClass("collapsed-box"); @@ -672,7 +672,7 @@ function _init() { })(jQuery); - /* +/* * EXPLICIT BOX CONTROLS * ----------------------- * 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); }; - $.fn.toggleBox = function(){ + $.fn.toggleBox = function () { var button = $($.AdminLTE.boxWidget.selectors.collapse, this); $.AdminLTE.boxWidget.collapse(button); }; - $.fn.removeBox = function(){ + $.fn.removeBox = function () { var button = $($.AdminLTE.boxWidget.selectors.remove, this); $.AdminLTE.boxWidget.remove(button); };