FEATURING Handling the first features for the singles pages
This commit is contained in:
parent
64059074e9
commit
9b95fcb9e6
|
|
@ -4,6 +4,7 @@ import handleScrollTop from './utilities/scroll-top';
|
||||||
import handleInsidePageScrolling from './page-scrolling';
|
import handleInsidePageScrolling from './page-scrolling';
|
||||||
import alternatePictures from './alternate-pictures';
|
import alternatePictures from './alternate-pictures';
|
||||||
import { searchBarInit } from './search-bar';
|
import { searchBarInit } from './search-bar';
|
||||||
|
import singlesInit from './singles/singles';
|
||||||
|
|
||||||
window.addEventListener('load', function () {
|
window.addEventListener('load', function () {
|
||||||
menuInit();
|
menuInit();
|
||||||
|
|
@ -12,4 +13,5 @@ window.addEventListener('load', function () {
|
||||||
handleInsidePageScrolling();
|
handleInsidePageScrolling();
|
||||||
alternatePictures();
|
alternatePictures();
|
||||||
searchBarInit();
|
searchBarInit();
|
||||||
|
singlesInit();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
5
resources/js/singles/singles.ts
Normal file
5
resources/js/singles/singles.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
import { handlePostToolbar } from './post-toolbar.ts';
|
||||||
|
|
||||||
|
export default function singles(): void {
|
||||||
|
handlePostToolbar();
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user