You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
436 B
17 lines
436 B
7 years ago
|
export default {
|
||
|
init() {
|
||
|
// JavaScript to be fired on all pages
|
||
|
$( 'body' )
|
||
|
.removeClass( 'no-js' )
|
||
|
.addClass( 'js' );
|
||
|
$( '.toggle' ).click( event => {
|
||
|
event.preventDefault();
|
||
|
$( event.currentTarget ).toggleClass( 'toggle--active' );
|
||
|
$( '.banner__navigation' ).toggleClass( 'banner__navigation--visible' );
|
||
|
} );
|
||
|
},
|
||
|
finalize() {
|
||
|
// JavaScript to be fired on all pages, after page specific JS is fired
|
||
|
},
|
||
|
};
|