Next Arrow opens a new tab

SupportNext Arrow opens a new tab
Kimberly Schmidt asked 7 years ago
Hi,  When I go to click on "next" for the next month (when you first use the calendar) it opens a new blank tab in the browser. Not sure why. I just close it and press the next arrow again and it works fine. BUT, it does this anytime I go to use the calendar fresh (refresh the page); open new blank tab. Have to close it, next arrow works fine. 

Is there any reason why this next arrow opens a new blank tab when I click it at first? It's annoying and it might throw off the non-tech-savvy folks who will be using the site. Might just be a glitch, but have you heard of this for anyone else? Thanks!
2 Answers
Nikola Loncar Staff answered 7 years ago
Hi, looks like some kind of collision on your site with other scripts. Can you please share the link to customers form so I can try to find what is going on there? Best regards, Nikola
k.schmidt Staff replied 7 years ago

It’s currently on a test page until we’re ready to implement it. Tours start in September, so you have to click next month to go to the available bookings. https://www.loraas.ca/test-page/

Nikola Loncar Staff answered 7 years ago
Hi, issue is within this file : https://www.loraas.ca/wp-content/themes/FoundationPress/assets/javascript/Loraas.js your there is putting event handler on every link. Please do following : replace this (line 30):
$('a').each(function() {
with this:
$('a').filter(function(i, e) { return $(e).closest('.ea-bootstrap').length === 0; }).each(function() {
after you save it do the page hard refresh in browser so new script is loaded. Best regards, Nikola
k.schmidt Staff replied 7 years ago

Saved. Hard refreshed the heck outta it. Nothing. Script not changing. So I will contact my web company and see why it is not refreshing, even tho it shows as saved in the WP backend editor.

Nikola Loncar Staff replied 7 years ago

maybe your browser is caching that JS file. You can clear browser stored data and try again.

Best regards,
Nikola

k.schmidt Staff replied 7 years ago

I did the google Chrome “clear cache from the beginning of time” and still no dice. The file is updated, but the browser isn’t updating. It’s been over 24 hrs so we’ll see.

Nikola Loncar Staff replied 7 years ago

Maybe there is some caching plugin on your site or cache proxy on your domain. Can you please check with you web developer?

Best regards,
Nikola