mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
refactor: update scroll script
This commit is contained in:
@@ -6,5 +6,5 @@ if (skinsElement) {
|
||||
ev.preventDefault();
|
||||
skinsElement.scrollLeft += (ev.deltaY + ev.deltaX);
|
||||
}
|
||||
});
|
||||
}, { passive: false });
|
||||
}
|
||||
@@ -18,7 +18,7 @@
|
||||
@endsection
|
||||
|
||||
@push('bottom_scripts')
|
||||
@vite('resources/js/vert-scroll.js')
|
||||
@vite('resources/js/horizontal-scroll.js')
|
||||
<script type="application/ld+json">
|
||||
@php
|
||||
$description = $champion->name . " is a " . strtolower(implode('/', $champion->roles)) . " champion in League of Legends";
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
@endsection
|
||||
|
||||
@push('bottom_scripts')
|
||||
@vite('resources/js/vert-scroll.js')
|
||||
@vite('resources/js/horizontal-scroll.js')
|
||||
<script type="application/ld+json">
|
||||
@php
|
||||
$description = $skin->skin_name . " is a " . $skin->rarity . " tier skin for " . $skin->champion->name . " in League of Legends";
|
||||
|
||||
Reference in New Issue
Block a user