Skip to content

Commit

Permalink
Fixes #3772
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Feb 26, 2013
1 parent ffdeed2 commit e7722bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/CoreHome/templates/broadcast.js
Expand Up @@ -526,6 +526,7 @@ var broadcast = {
hashStr = hashStr.substr(1);
}
hashStr = hashStr.split('#')[0];

return broadcast.getParamValue(param,hashStr);
},

Expand All @@ -542,7 +543,8 @@ var broadcast = {
*/
getParamValue: function (param, url)
{
var startStr = url.indexOf(param);
var lookFor = param + '=';
var startStr = url.indexOf(lookFor);

if( startStr >= 0 ) {
var endStr = url.indexOf("&", startStr);
Expand Down

0 comments on commit e7722bb

Please sign in to comment.