*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit c10c4e5f authored by Moser, Maximilian's avatar Moser, Maximilian
Browse files

Remove scripts that are no longer needed

* remove the show/hide logic for the old mobile menu
* remove base.js as it only imported jquery, which is usually done by
  each script itself if required
parent b073817e
Branches
Tags
1 merge request!15Remove script for hiding/showing planned features
/*
* This file is part of Invenio.
* Copyright (C) 2017-2020 CERN.
* Copyright (C) 2021 TU Wien.
*
* Invenio is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
// eslint-disable-next-line no-unused-vars
import jquery from "jquery";
import "semantic-ui-css/semantic.js";
import "semantic-ui-less/semantic.less";
// Initialize Semantic UI components
jquery(".ui.dropdown").dropdown();
jquery(".ui.accordion").accordion();
jquery(".message .close").on("click", function () {
jquery(this).closest(".message").transition({
animation: "fade",
duration: 0,
interval: 0,
});
});
...@@ -7,6 +7,5 @@ ...@@ -7,6 +7,5 @@
under the terms of the MIT License; see LICENSE file for more details. under the terms of the MIT License; see LICENSE file for more details.
#} #}
{{ webpack['base.js']}}
{{ webpack['theme.js']}}
{{ webpack['i18n_app.js']}} {{ webpack['i18n_app.js']}}
{{ webpack['invenio-theme-tuw-messages.js']}}
...@@ -19,6 +19,7 @@ theme = WebpackThemeBundle( ...@@ -19,6 +19,7 @@ theme = WebpackThemeBundle(
"invenio-theme-tuw-theme": "./less/invenio_theme_tuw/theme.less", "invenio-theme-tuw-theme": "./less/invenio_theme_tuw/theme.less",
"invenio-theme-tuw-tracking": "./js/invenio_theme_tuw/tracking/index.js", "invenio-theme-tuw-tracking": "./js/invenio_theme_tuw/tracking/index.js",
"invenio-theme-tuw-mobilemenu": "./js/invenio_theme_tuw/mobilemenu/index.js", "invenio-theme-tuw-mobilemenu": "./js/invenio_theme_tuw/mobilemenu/index.js",
"invenio-theme-tuw-messages": "./js/invenio_theme_tuw/messages/index.js",
}, },
"dependencies": {}, "dependencies": {},
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment