Reputation: 7696
This is really weird, but each time I set $(element).css('animation-play-state', 'paused');
safari refreshes the whole page.
Why?
Upvotes: 3
Views: 1094
Reputation: 966
I'm encountering the same issue with Safari 5.1.7 on Windows, but when executing the same code on a Mac using Safari 5.0.6, it works without issue.
Unfortunately can't conclude weather it's Windows, or anything above Safari 5.1 as @Kramp suggested. Would assume Windows..
Upvotes: 0
Reputation: 67234
This is due to a bug in Safari 5.1 (maybe higher as well.) that the program is trying to access a part of protected memory that it should not be and Windows stops the process before it makes any major problems. A whole lot of bug reports have been submitted to Apple, but there is no word of a fix yet.
You can try repairing the install of Safari, but it's anyone's guess as to whether it will work or not and of course, other users on your page will have to go through these steps which is a lot to ask them.
Windows + R -> appwiz.cpl -> Right click Safari -> Repair.
Hope some of that helps.
Upvotes: 1