Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

set referrer on any unload event, and check referrer/newurl if either…

… is set
  • Loading branch information...
commit 8a20b4bd9a66e18ae9561981e06511d0259a027a 1 parent 30eda15
Philip Tellis authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/rt.js
4 plugins/rt.js
View
@@ -45,7 +45,7 @@ impl = {
subcookies = BOOMR.utils.getSubCookies(BOOMR.utils.getCookie(this.cookie)) || {};
// We use document.URL instead of location.href because of a bug in safari 4
// where location.href is URL decoded
- if(how === "ul") {
+ if(how === "ul" || how == "hd") {
subcookies.r = d.URL.replace(/#.*/, '');
}
@@ -105,7 +105,7 @@ impl = {
subcookies.s = Math.max(+subcookies.ul||0, +subcookies.cl||0);
BOOMR.debug("Read from cookie " + BOOMR.utils.objectToString(subcookies), "rt");
- if(subcookies.s && subcookies.r) {
+ if(subcookies.s && (subcookies.r || subcookies.nu)) {
this.r = subcookies.r;
BOOMR.debug(this.r + " =?= " + this.r2, "rt");
Please sign in to comment.
Something went wrong with that request. Please try again.