mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-06 17:41:01 +00:00
.sideNav() to .sidenav()
This commit is contained in:
parent
e68122d21a
commit
0d9453d7ec
2 changed files with 5 additions and 5 deletions
|
@ -274,8 +274,8 @@ const articleScroll = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
$(document).ready(() => {
|
$(document).ready(() => {
|
||||||
// sideNav
|
// sidenav
|
||||||
$('.button-collapse').sideNav();
|
$('.button-collapse').sidenav();
|
||||||
$('select').formSelect();
|
$('select').formSelect();
|
||||||
$('.collapsible').collapsible({
|
$('.collapsible').collapsible({
|
||||||
accordion: false,
|
accordion: false,
|
||||||
|
@ -308,7 +308,7 @@ $(document).ready(() => {
|
||||||
$('.nav-panel-add-tag').toggle(100);
|
$('.nav-panel-add-tag').toggle(100);
|
||||||
$('.nav-panel-menu').addClass('hidden');
|
$('.nav-panel-menu').addClass('hidden');
|
||||||
if (window.innerWidth < mobileMaxWidth) {
|
if (window.innerWidth < mobileMaxWidth) {
|
||||||
$('.sidenav').sideNav('hide');
|
$('.sidenav').sidenav('hide');
|
||||||
}
|
}
|
||||||
$('#tag_label').focus();
|
$('#tag_label').focus();
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -32,7 +32,7 @@ function initFilters() {
|
||||||
// no display if filters not available
|
// no display if filters not available
|
||||||
if ($('div').is('#filters')) {
|
if ($('div').is('#filters')) {
|
||||||
$('#button_filters').show();
|
$('#button_filters').show();
|
||||||
$('.js-filters-action').sideNav({ edge: 'right' });
|
$('.js-filters-action').sidenav({ edge: 'right' });
|
||||||
$('#clear_form_filters').on('click', () => {
|
$('#clear_form_filters').on('click', () => {
|
||||||
$('#filters input').val('');
|
$('#filters input').val('');
|
||||||
$('#filters :checked').removeAttr('checked');
|
$('#filters :checked').removeAttr('checked');
|
||||||
|
@ -46,7 +46,7 @@ function initExport() {
|
||||||
// no display if export not available
|
// no display if export not available
|
||||||
if ($('div').is('#export')) {
|
if ($('div').is('#export')) {
|
||||||
$('#button_export').show();
|
$('#button_export').show();
|
||||||
$('.js-export-action').sideNav({ edge: 'right' });
|
$('.js-export-action').sidenav({ edge: 'right' });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue