mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
ESlint no-mixed-operators
This commit is contained in:
@@ -298,7 +298,7 @@ define('chat', [
|
||||
hideAfter = true;
|
||||
}
|
||||
chatModal.css('left', Math.max(0, (($(window).width() - $(chatModal).outerWidth()) / 2) + $(window).scrollLeft()) + 'px');
|
||||
chatModal.css('top', Math.max(0, $(window).height() / 2 - $(chatModal).outerHeight() / 2) + 'px');
|
||||
chatModal.css('top', Math.max(0, ($(window).height() / 2) - ($(chatModal).outerHeight() / 2)) + 'px');
|
||||
|
||||
if (hideAfter) {
|
||||
chatModal.addClass('hide');
|
||||
|
||||
Reference in New Issue
Block a user