Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( window.addEventListener ) {
- window.addEventListener('popstate', function( e ) {
- /*if($(".i-wrap").is(":visible")) {
- e.preventDefault();
- $(".i-wrap .close-item").click();
- return false;
- }*/
- var loc = e.location || document.location;
- uploadContent(loc, false);
- }, false);
- } else if ( window.attachEvent ) {
- window.attachEvent('onpopstate', function( e ) {
- var loc = e.location || document.location;
- uploadContent(loc, false);
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement