Fixed issue with extending $.AdminLTE.options

pull/399/head
Abdullah Almsaeed 2015-05-06 23:59:51 -04:00
parent c0280e2819
commit d72176caa7
2 changed files with 4 additions and 4 deletions

6
dist/js/app.js vendored
View File

@ -138,7 +138,7 @@ $.AdminLTE.options = {
$(function () {
//Extend options if external options exist
if (typeof AdminLTEOptions !== "undefined") {
$.AdminLTE.options = $.extend({},
$.extend(true,
$.AdminLTE.options,
AdminLTEOptions);
}
@ -476,8 +476,8 @@ function _init() {
if (slide) {
sidebar.addClass('control-sidebar-open');
$(document).on('click', function () {
_this.close(sidebar, slide);
});
_this.close(sidebar, slide);
});
} else {
//Push the content by adding the open class to the body instead
//of the sidebar itself

2
dist/js/app.min.js vendored

File diff suppressed because one or more lines are too long