Browse Source

tertiary button borders

Former-commit-id: 381c214155
Former-commit-id: d5ed04efbd
pull/258/head
Jack Lukic 11 years ago
parent
commit
64d4284866
2 changed files with 1 additions and 28 deletions
  1. 2
      src/elements/button.less
  2. 27
      src/modules/chat.js

2
src/elements/button.less

@ -662,7 +662,7 @@
text-shadow: none; text-shadow: none;
box-shadow: none; box-shadow: none;
} }
.ui.buttons.tertiary .button:first-child {
.ui.buttons.tertiary .button {
border-left: none; border-left: none;
} }
.ui.button.tertiary.active { .ui.button.tertiary.active {

27
src/modules/chat.js

@ -174,29 +174,11 @@
if(member.info.isAdmin) { if(member.info.isAdmin) {
$(html) $(html)
.prependTo($userList) .prependTo($userList)
.preview({
type : 'user',
placement : 'left'
})
; ;
} }
else { else {
$(html) $(html)
.appendTo($userList) .appendTo($userList)
.preview({
type : 'user',
placement : 'left'
})
;
}
if( $.fn.preview !== undefined ) {
$userList
.children()
.last()
.preview({
type: 'user',
placement: 'left'
})
; ;
} }
if(settings.partingMessages) { if(settings.partingMessages) {
@ -257,15 +239,6 @@
$userList $userList
.html(html) .html(html)
; ;
if( $.fn.preview !== undefined ) {
$userList
.children()
.preview({
type: 'user',
placement: 'left'
})
;
}
module.user.updateCount(); module.user.updateCount();
$.proxy(settings.onJoin, $userList.children())(); $.proxy(settings.onJoin, $userList.children())();
}, },

Loading…
Cancel
Save