aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-09-28 18:59:15 +0200
committerThomas Citharel <tcit@tcit.fr>2016-09-28 18:59:15 +0200
commit8f234d0156cc6f2eb6e3c9f692e4633b35fafc41 (patch)
treee609ce4e55729c63b1380fc4652dadb4343455af /app
parentfc487c4eb1924caae1056356963df91e06811b4a (diff)
downloadwallabag-8f234d0156cc6f2eb6e3c9f692e4633b35fafc41.tar.gz
wallabag-8f234d0156cc6f2eb6e3c9f692e4633b35fafc41.tar.zst
wallabag-8f234d0156cc6f2eb6e3c9f692e4633b35fafc41.zip
remove autocomplete and bring fonts through npm
Diffstat (limited to 'app')
-rwxr-xr-xapp/Resources/static/themes/baggy/js/init.js7
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 @@
1const $ = global.jquery = require('jquery'); 1const $ = global.jquery = require('jquery');
2require('jquery.cookie'); 2require('jquery.cookie');
3require('jquery-ui'); 3require('jquery-ui-browserify');
4const annotator = require('annotator'); 4const annotator = require('annotator');
5import { savePercent, retrievePercent } from '../../_global/js/tools.js'; 5import { savePercent, retrievePercent } from '../../_global/js/tools.js';
6import { split, extractLast } from './autoCompleteTags.js'; 6import { 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