0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-02-18 09:40:12 +01:00

client: minor fix style; minor fix exception handling.

This commit is contained in:
Jason Volk 2017-10-03 04:07:41 -07:00
parent 5073096335
commit 4f50cba4a7
3 changed files with 5 additions and 10 deletions
modules/static

View file

@ -1119,7 +1119,7 @@ body.loaded
{
flex-grow: 1;
flex-shrink: 1;
margin: 1px 5px 1px 5px;
margin: 5px;
}
@ -1272,7 +1272,7 @@ body.loaded
align-items: center;
justify-content: center;
padding: 10px 15px 10px 15px;
background-color: var(--pal-AD);
border: 1px solid var(--pal-AD);
letter-spacing: 1px;
font-weight: bold;
font-size: 17px;

View file

@ -115,17 +115,11 @@ room.scroll.on = function(event)
mc.ng.apply();
}
if(at_top || (going_up && pcts.top < 0.15)) try
{
if(at_top || (going_up && pcts.top < 0.15))
this.scroll.back(48);
}
catch(e) {}
if(!at_bottom && going_down && pcts.bottom < 0.15) try
{
if(!at_bottom && going_down && pcts.bottom < 0.15)
this.scroll.front(48);
}
catch(e) {}
this.control.scroll_pos_last = pos;
this.control.scroll_pct_last = pcts;

View file

@ -487,6 +487,7 @@ type="text/ng-template"
<div
class="content"
ng-include="'ircd_room_content'"
ircd-catch
>
</div>
<div