Skip to content

Commit

Permalink
es5
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Aug 8, 2023
1 parent 0e271a6 commit 29ca9f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/js/tour.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jQuery( document ).ready(
if ( tourEndsHere ) {
return;
}
const item = window.tour[tourName][nextItem];
var item = window.tour[tourName][nextItem];
addPulse( jQuery(item.selector), item.html, tourName, nextItem );

} );
Expand All @@ -68,9 +68,9 @@ jQuery( document ).ready(
}
window.tour = gp_tour;
window.loadTour = function(){
for ( const n in window.tour ) {
const color1 = window.tour[n][0].color + '00';
const color2 = window.tour[n][0].color + 'a0';
for ( var n in window.tour ) {
var color1 = window.tour[n][0].color + '00';
var color2 = window.tour[n][0].color + 'a0';
var sheet = document.styleSheets[0];
sheet.insertRule(`@keyframes animation-${n} {
0% {
Expand Down

0 comments on commit 29ca9f1

Please sign in to comment.