Commit 55255a18 authored by Ryan Herbert's avatar Ryan Herbert Committed by marc duez

url.js positional params ignore index.html

parent 23c09347
......@@ -192,7 +192,7 @@ PositionalUrl.prototype.parseUrlParams = function() {
var slash_params = url.pathname.substr(1).split('/');
var positional_params = [];
for (var k = 0; k < slash_params.length; k++) {
if(slash_params[k] !== 'browser' && slash_params[k] !== "")
if(slash_params[k] !== 'browser' && slash_params[k] !== "index.html" && slash_params[k] !== "")
positional_params.push(slash_params[k]);
}
var pos_param_keys = this.getStraightParams();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment