]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/Resources/static/themes/baggy/js/init.js
remove autocomplete and bring fonts through npm
[github/wallabag/wallabag.git] / app / Resources / static / themes / baggy / js / init.js
index c6a54f6fa696fc75c858d8a4ee327a3455aa89fa..8da9a859bf88831a80cce8c4a55072318ed68e12 100755 (executable)
@@ -1,6 +1,6 @@
 const $ = global.jquery = require('jquery');
 require('jquery.cookie');
-require('jquery-ui');
+require('jquery-ui-browserify');
 const annotator = require('annotator');
 import { savePercent, retrievePercent } from '../../_global/js/tools.js';
 import { split, extractLast } from './autoCompleteTags.js';
@@ -124,6 +124,10 @@ $.fn.ready(() => {
   /**
    * Tags autocomplete
    */
+  /**
+   * Not working on v2
+   *
+
   $('#value').bind('keydown', (event) => {
     if (event.keyCode === $.ui.keyCode.TAB && $(this).data('ui-autocomplete').menu.active) {
       event.preventDefault();
@@ -156,6 +160,7 @@ $.fn.ready(() => {
       return false;
     },
   });
+  */
 
   //---------------------------------------------------------------------------
   // Close the message box when the user clicks the close icon