forked from wallabag/wallabag
Move icon into the top menu bar
Change the way to select a random entry: - select all ids from the given user (with filters) - choose randomly one in php - find that entry
This commit is contained in:
@ -8,7 +8,7 @@ import 'materialize-css/dist/js/materialize';
|
||||
import '../_global/index';
|
||||
|
||||
/* Tools */
|
||||
import { initExport, initFilters } from './js/tools';
|
||||
import { initExport, initFilters, initRandom } from './js/tools';
|
||||
|
||||
/* Import shortcuts */
|
||||
import './js/shortcuts/main';
|
||||
@ -32,8 +32,10 @@ $(document).ready(() => {
|
||||
format: 'dd/mm/yyyy',
|
||||
container: 'body',
|
||||
});
|
||||
|
||||
initFilters();
|
||||
initExport();
|
||||
initRandom();
|
||||
|
||||
const toggleNav = (toShow, toFocus) => {
|
||||
$('.nav-panel-actions').hide(100);
|
||||
|
||||
Reference in New Issue
Block a user