cbb726a0 by Gary Katsevman

Options object may not contain a url.

1 parent c0d2ed06
...@@ -333,7 +333,7 @@ var ...@@ -333,7 +333,7 @@ var
333 // use the URL specified in options if one was provided 333 // use the URL specified in options if one was provided
334 if (typeof options === 'string') { 334 if (typeof options === 'string') {
335 return options; 335 return options;
336 } else if (options) { 336 } else if (options.url) {
337 return options.url; 337 return options.url;
338 } 338 }
339 339
......