Skip to content

Commit

Permalink
fix demo.js
Browse files Browse the repository at this point in the history
  • Loading branch information
REJack committed Dec 4, 2020
1 parent d0cf068 commit f17c1c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/js/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@
var $sidebar_collapsed_container = $('<div />', { class: 'mb-1' }).append($sidebar_collapsed_checkbox).append('<span>Collapsed</span>')
$container.append($sidebar_collapsed_container)

$(document).on('collapsed.lte.pushmenu', '[data-widget="pushmenu"]', function() {
$(document).on('collapsed.lte.pushmenu', '[data-widget="pushmenu"]', function () {
$sidebar_collapsed_checkbox.prop('checked', true)
})
$(document).on('shown.lte.pushmenu', '[data-widget="pushmenu"]', function() {
$(document).on('shown.lte.pushmenu', '[data-widget="pushmenu"]', function () {
$sidebar_collapsed_checkbox.prop('checked', false)
})

Expand Down

0 comments on commit f17c1c4

Please sign in to comment.