diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-11-03 10:02:16 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2016-11-15 21:55:10 +0100 |
commit | 5637a26e9af98a05c76823c85611315cd1a986e0 (patch) | |
tree | 862469ed65589c18dca9f69914eda94ddf221cde /app/Resources/static/themes/material/js/init.js | |
parent | 16ef7607f43ebc3e0134360b7657af191e14fe12 (diff) | |
download | wallabag-5637a26e9af98a05c76823c85611315cd1a986e0.tar.gz wallabag-5637a26e9af98a05c76823c85611315cd1a986e0.tar.zst wallabag-5637a26e9af98a05c76823c85611315cd1a986e0.zip |
Bring navigation (with right, left and enter) on material entries page. Supports going to next and previous page !
Also better indentation for js files (changed editorconfig for them).
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/Resources/static/themes/material/js/init.js')
-rwxr-xr-x | app/Resources/static/themes/material/js/init.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/app/Resources/static/themes/material/js/init.js b/app/Resources/static/themes/material/js/init.js index 3ff8de0a..9746224b 100755 --- a/app/Resources/static/themes/material/js/init.js +++ b/app/Resources/static/themes/material/js/init.js | |||
@@ -1,8 +1,17 @@ | |||
1 | /* jQuery */ | ||
1 | import $ from 'jquery'; | 2 | import $ from 'jquery'; |
3 | |||
4 | /* Annotations */ | ||
2 | import annotator from 'annotator'; | 5 | import annotator from 'annotator'; |
6 | |||
7 | /* Tools */ | ||
3 | import { savePercent, retrievePercent, initFilters, initExport } from '../../_global/js/tools'; | 8 | import { savePercent, retrievePercent, initFilters, initExport } from '../../_global/js/tools'; |
4 | import './shortcuts/main.js'; | 9 | |
5 | import './shortcuts/entry.js'; | 10 | /* Import shortcuts */ |
11 | import './shortcuts/main'; | ||
12 | import './shortcuts/entry'; | ||
13 | import '../../_global/js/shortcuts/main'; | ||
14 | import '../../_global/js/shortcuts/entry'; | ||
6 | 15 | ||
7 | require('materialize'); // eslint-disable-line | 16 | require('materialize'); // eslint-disable-line |
8 | 17 | ||