Commit 3ae5c826 authored by Dominik Hebeler's avatar Dominik Hebeler

Merge branch '530-js-only-class' into 'development'

Resolve "js-only class"

Closes #530

See merge request !1003
parents 429ef4ea 1f07e228
......@@ -16,4 +16,7 @@ langfiles.zip
/public/js/scriptResultPage.js
/public/css/beitritt.css
/public/css/themes/default.css
/public/css/utility.css
/public/js/utility.js
**/*.map
......@@ -31,4 +31,9 @@ elixir(function (mix) {
mix.less('metager/beitritt.less', 'public/css/beitritt.css')
mix.version(['css/beitritt.css'])
mix.version(['js/widgets.js', 'js/editLanguage.js', 'js/kontakt.js', 'js/scriptResultPage.js', 'js/scriptStartPage.js', 'js/settings.js'])
// utility
mix.scripts(['utility.js'], 'public/js/utility.js');
mix.less('utility.less', 'public/css/utility.css');
mix.version(['js/utility.js', 'css/utility.css']);
})
$(document).ready(function () {
$('.js-only').removeClass('js-only');
});
.js-only {
display: none !important;
}
{{-- Verwendung: @include('layouts.utility') --}}
<script src="{{ elixir('js/utility.js') }}"></script>
<link type="text/css" rel="stylesheet" href="{{ elixir('css/utility.css') }}" />
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment