Skip to content

Commit

Permalink
Merge pull request sakaiproject#457 from buckett/window-name-js
Browse files Browse the repository at this point in the history
Use more accurate variable name for window name.
  • Loading branch information
steveswinsburg committed May 4, 2015
2 parents dff90e9 + cd1b8ab commit 7206e06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reference/library/src/webapp/js/headscripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ function inIframe () {
}
}

function openWindow(url, title, options)
function openWindow(url, name, options)
{
var win = top.window.open(url, title.replace(/[ -]+/g, ''), options);
var win = top.window.open(url, name.replace(/[ -]+/g, ''), options);
win.focus();
return win;
}
Expand Down

0 comments on commit 7206e06

Please sign in to comment.