Skip to content

Commit

Permalink
Fix Map window scrollbar code to be active again
Browse files Browse the repository at this point in the history
  • Loading branch information
pspaude committed Oct 21, 2013
1 parent 69e8672 commit 17665ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/coffee/mygps/mygps/viewmodel/HomeViewModel.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ namespace 'mygps.viewmodel'
ko.bindingHandlers.popupWindow = init: (element, valueAccessor) ->
values = ko.utils.unwrapObservable(valueAccessor())
$(element).click ->
window.open(ko.utils.unwrapObservable(values.url), "ChildWindow", "height=" + values.height + ",width=" + values.width, "resizable=1, scrollbars=1")
window.open(ko.utils.unwrapObservable(values.url), "ChildWindow", " height=" + values.height + ", width=" + values.width + ", resizable=1, scrollbars=1")

false
2 changes: 1 addition & 1 deletion src/main/webapp/MyGPS/scripts/MyGPS-2.1.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@
var values;
values = ko.utils.unwrapObservable(valueAccessor());
$(element).click(function() {
return window.open(ko.utils.unwrapObservable(values.url), "ChildWindow", "height=" + values.height + ",width=" + values.width, "resizable=1, scrollbars=1");
return window.open(ko.utils.unwrapObservable(values.url), "ChildWindow", " height=" + values.height + ", width=" + values.width + ", resizable=1, scrollbars=1");
});
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/MyGPS/scripts/MyGPS-2.1.0.min.js

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

0 comments on commit 17665ef

Please sign in to comment.