Skip to content

Commit

Permalink
fixed container.js, because it doesn't return first parameter correct…
Browse files Browse the repository at this point in the history
…ly (fixes #1965)
  • Loading branch information
kawahara committed Mar 22, 2011
1 parent 91e9450 commit 95ebf1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/js/container.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion web/js/container.js.src
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Container.prototype = {

_parseIframeUrl: function(url) {
var ret = new Object();
var hashParams = url.replace(/#.*$/, '').split('&');
var hashParams = url.replace(/^.*\?/, '').replace(/#.*$/, '').split(/&|&/);
var param = key = val = '';
for (i = 0 ; i < hashParams.length; i++) {
param = hashParams[i];
Expand Down

0 comments on commit 95ebf1f

Please sign in to comment.