Skip to content

Commit

Permalink
Modify popup properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Novruu committed Nov 26, 2024
1 parent e359c41 commit d4e1693
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/views/admin/dashboard_beta/dashboard.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@
new MS.Views.DashboardLoansActiveStackChart({
el: $("section.active-loans .loans-chart")[0],
loans_data: #{json @stack_data},
loans_data: #{json @stack_data}
});
$("section.active-loans form > svg").on("click", function() {
window.open("/admin/dashboard_beta/stackbar?limit=0", '_blank', 'width=500,heigth=1000');
window.open("/admin/dashboard_beta/stackbar?limit=0", '_blank', 'width=800,height=800,resizable,scrollbars=yes,status=1');
});
});
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/dashboard_beta/stackbar_popup.slim
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$(function() {
new MS.Views.DashboardLoansActiveStackChart({
el: $(".loans-chart")[0],
loans_data: #{json @stack_data},
loans_data: #{json @stack_data}
});
setTimeout(function() {
Expand Down

0 comments on commit d4e1693

Please sign in to comment.