Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".acf-field-57e3ed6cd782f .acf-label label").each(function(i) {
- switch(i) {
- case 1:
- currentDay = "Tuesday";
- break;
- case 2:
- currentDay = "Wednesday";
- break;
- case 3:
- currentDay = "Thursday";
- break;
- case 4:
- currentDay = "Friday";
- break;
- case 5:
- currentDay = "Saturday";
- break;
- case 6:
- currentDay = "Sunday";
- break;
- }
- $(this).text(currentDay);
- });
- // Replace the label on companies
- $(".acf-field-57eeb5d57e598 .acf-label label").each(function(i) {
- switch(i) {
- case 1:
- currentDay = "Tuesday";
- break;
- case 2:
- currentDay = "Wednesday";
- break;
- case 3:
- currentDay = "Thursday";
- break;
- case 4:
- currentDay = "Friday";
- break;
- case 5:
- currentDay = "Saturday";
- break;
- case 6:
- currentDay = "Sunday";
- break;
- }
- $(this).text(currentDay);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement