Skip to content

Commit

Permalink
damn escape characters
Browse files Browse the repository at this point in the history
  • Loading branch information
danwdart committed Mar 27, 2011
1 parent 347c733 commit dfe2d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/script.js
Expand Up @@ -8,7 +8,7 @@ load: function(url) {
for(i in jsondata) {
var message = jsondata[i];
if(message.redirect) {
if(message.redirect.indexOf('http://') == 0) {
if(message.redirect.indexOf('http') == 0) {
window.location = message.redirect;
}
else {
Expand Down

0 comments on commit dfe2d33

Please sign in to comment.