Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fixed swarmUrl #230

Closed
wants to merge 1 commit into from

2 participants

@s-a

Regarding to #228 (comment)

@Krinkle Krinkle commented on the diff
js/inject.js
@@ -19,7 +19,7 @@
DEBUG = false;
doPost = false;
- search = window.location.search;
+ search = (window.location.search == '' ? window.location.hash : window.location.search);
@Krinkle Collaborator
Krinkle added a note

Use strict comparison.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@Krinkle
Collaborator

Exactly what does this fix? Why would you have a hash value in the main test suite before the ready handler?

@Krinkle Krinkle closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 19, 2012
  1. @s-a

    fixed swarmUrl

    s-a authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/inject.js
View
2  js/inject.js
@@ -19,7 +19,7 @@
DEBUG = false;
doPost = false;
- search = window.location.search;
+ search = (window.location.search == '' ? window.location.hash : window.location.search);
@Krinkle Collaborator
Krinkle added a note

Use strict comparison.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
index = search.indexOf( 'swarmURL=' );
submitTimeout = 5;
beatRate = 20;
Something went wrong with that request. Please try again.