diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-09-28 18:59:15 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2016-09-28 18:59:15 +0200 |
commit | 8f234d0156cc6f2eb6e3c9f692e4633b35fafc41 (patch) | |
tree | e609ce4e55729c63b1380fc4652dadb4343455af /app/Resources/static | |
parent | fc487c4eb1924caae1056356963df91e06811b4a (diff) | |
download | wallabag-8f234d0156cc6f2eb6e3c9f692e4633b35fafc41.tar.gz wallabag-8f234d0156cc6f2eb6e3c9f692e4633b35fafc41.tar.zst wallabag-8f234d0156cc6f2eb6e3c9f692e4633b35fafc41.zip |
remove autocomplete and bring fonts through npm
Diffstat (limited to 'app/Resources/static')
-rwxr-xr-x | app/Resources/static/themes/baggy/js/init.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Resources/static/themes/baggy/js/init.js b/app/Resources/static/themes/baggy/js/init.js index c6a54f6f..8da9a859 100755 --- a/app/Resources/static/themes/baggy/js/init.js +++ b/app/Resources/static/themes/baggy/js/init.js | |||
@@ -1,6 +1,6 @@ | |||
1 | const $ = global.jquery = require('jquery'); | 1 | const $ = global.jquery = require('jquery'); |
2 | require('jquery.cookie'); | 2 | require('jquery.cookie'); |
3 | require('jquery-ui'); | 3 | require('jquery-ui-browserify'); |
4 | const annotator = require('annotator'); | 4 | const annotator = require('annotator'); |
5 | import { savePercent, retrievePercent } from '../../_global/js/tools.js'; | 5 | import { savePercent, retrievePercent } from '../../_global/js/tools.js'; |
6 | import { split, extractLast } from './autoCompleteTags.js'; | 6 | import { split, extractLast } from './autoCompleteTags.js'; |
@@ -124,6 +124,10 @@ $.fn.ready(() => { | |||
124 | /** | 124 | /** |
125 | * Tags autocomplete | 125 | * Tags autocomplete |
126 | */ | 126 | */ |
127 | /** | ||
128 | * Not working on v2 | ||
129 | * | ||
130 | |||
127 | $('#value').bind('keydown', (event) => { | 131 | $('#value').bind('keydown', (event) => { |
128 | if (event.keyCode === $.ui.keyCode.TAB && $(this).data('ui-autocomplete').menu.active) { | 132 | if (event.keyCode === $.ui.keyCode.TAB && $(this).data('ui-autocomplete').menu.active) { |
129 | event.preventDefault(); | 133 | event.preventDefault(); |
@@ -156,6 +160,7 @@ $.fn.ready(() => { | |||
156 | return false; | 160 | return false; |
157 | }, | 161 | }, |
158 | }); | 162 | }); |
163 | */ | ||
159 | 164 | ||
160 | //--------------------------------------------------------------------------- | 165 | //--------------------------------------------------------------------------- |
161 | // Close the message box when the user clicks the close icon | 166 | // Close the message box when the user clicks the close icon |