Skip to content

Commit

Permalink
EasyPIBA 5.2.3
Browse files Browse the repository at this point in the history
Fix admin template - toggle sidebar button
  • Loading branch information
al3x2508 committed Feb 16, 2018
1 parent 22c1e71 commit f33c419
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions admin/js/jsall.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ var jsstrings = {},
folder = '',
adminfolder = '',
_confirmDelete = $('<div></div>'),
_messagePopup = $('<div></div>');;
_messagePopup = $('<div></div>');
$(function () {
folder = $("#mainjs").data('appdir');
adminfolder = $("#mainjs").data('admindir');
$(".sidebar-toggle").click(function() {
$('body').toggleClass('sidebar-collapse');
if($(window).width() > 767) $('body').toggleClass('sidebar-collapse');
else $('body').toggleClass('sidebar-open');
});
if ($("#save").length > 0) saveButton = $("#save");
else saveButton = $("#customSave");
Expand Down
2 changes: 1 addition & 1 deletion admin/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<!-- Google Font -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
</head>
<body class="skin-blue">
<body class="skin-blue sidebar-mini">
<div class="wrapper">

<header class="main-header">
Expand Down

0 comments on commit f33c419

Please sign in to comment.