diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-03-13 14:08:49 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-03-13 14:41:33 -0500 |
commit | c8f986fe115d19c3f6ec014e20c7399918914d10 (patch) | |
tree | a40dd4e3f0c67bb1a09e22cb7215a7641f2ce941 | |
parent | 8796d17a2670888d8fb975e0b327ecaa362c6f52 (diff) | |
download | gitlab-ce-c8f986fe115d19c3f6ec014e20c7399918914d10.tar.gz |
fix broken variable referenceremove-iifes-1
-rw-r--r-- | app/assets/javascripts/abuse_reports.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/abuse_reports.js b/app/assets/javascripts/abuse_reports.js index 2934565caec..346de4ad11e 100644 --- a/app/assets/javascripts/abuse_reports.js +++ b/app/assets/javascripts/abuse_reports.js @@ -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)); } } |