Permalink
Browse files

proper cross-browser window location

  • Loading branch information...
1 parent 61f8ed8 commit bfcbbd4161650358016f5fc15d7f1cb29cf7c5ec @talos committed Feb 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 client/js/src/collections/openscrape.nodes.js
@@ -88,7 +88,7 @@ define([
});
}) || this.create({
instruction: '/instructions/nyc/property.json',
- uri: window.location.origin + '/instructions/',
+ uri: window.location.href.split('/').slice(0, 3).join('/') + '/instructions/',
name: 'Property Info',
type: 'wait',
tags: addressTags

0 comments on commit bfcbbd4

Please sign in to comment.