fix broken variable reference

This commit is contained in:
Mike Greiling 2017-03-13 14:08:49 -05:00
parent 8796d17a26
commit c8f986fe11
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class AbuseReports {
if (reportMessage.length > MAX_MESSAGE_LENGTH) {
$messageCellElement.data('original-message', reportMessage);
$messageCellElement.data('message-truncated', 'true');
$messageCellElement.text(global.text.truncate(reportMessage, MAX_MESSAGE_LENGTH));
$messageCellElement.text(window.gl.text.truncate(reportMessage, MAX_MESSAGE_LENGTH));
}
}