Skip to content

Commit

Permalink
minimize and maximize window
Browse files Browse the repository at this point in the history
  • Loading branch information
lurume84 committed Apr 21, 2020
1 parent 1bcb777 commit 9853aee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
position: fixed;
top: 0px;
left: 0px;
width: calc(100% - 50px);
width: calc(100% - 150px);
height: 30px;
z-index: 999;
}
Expand Down
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
<div id="upgrade"><i class="fas fa-flag"></i>Bling <span></span> has been installed. <a href="#">Reload</a></div>
<div id="draggable-window"></div>
<div id="toolbar-window">
<!-- <div class="minimize"> -->
<!-- <i class="fas fa-window-minimize"></i> -->
<!-- </div> -->
<!-- <div class="maximize"> -->
<!-- <i class="fas fa-window-maximize"></i> -->
<!-- </div> -->
<div class="minimize">
<i class="fas fa-minus"></i>
</div>
<div class="maximize">
<i class="fas fa-window-maximize"></i>
</div>
<div class="close">
<i class="fas fa-times"></i>
</div>
Expand Down
4 changes: 2 additions & 2 deletions js/helpers/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ $(document).ready(function ()
{
$("#toolbar-window .minimize").click(function()
{

window.minimize();
});

$("#toolbar-window .maximize").click(function()
{

window.maximize();
});

$("#toolbar-window .close").click(function()
Expand Down

0 comments on commit 9853aee

Please sign in to comment.