Subversion Repositories SmartDukaan

Rev

Rev 18302 | Rev 18305 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18302 Rev 18303
Line 13... Line 13...
13
	$('#shippingAlertText').addClass('animated flash');
13
	$('#shippingAlertText').addClass('animated flash');
14
	 if (window.history && window.history.pushState) {
14
	 if (window.history && window.history.pushState) {
15
        $(window).on('popstate', function() {
15
        $(window).on('popstate', function() {
16
             $('#myModal').modal('hide');
16
             $('#myModal').modal('hide');
17
             $("#cartloader").addClass('hidden');
17
             $("#cartloader").addClass('hidden');
18
             if(typeof history.form!=undefined){
18
             if(typeof history.form != "undefined"){
19
                 history.form.submit();
19
                 history.form.submit();
-
 
20
             }else{
-
 
21
            	 window.location.href = apihost + 'category/6';
20
             }   
22
             }   
21
        });
23
        });
22
      }
24
      }
23
});
25
});
24
</script>
26
</script>