summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-13 14:08:49 -0500
committerMike Greiling <mike@pixelcog.com>2017-03-13 14:41:33 -0500
commitc8f986fe115d19c3f6ec014e20c7399918914d10 (patch)
treea40dd4e3f0c67bb1a09e22cb7215a7641f2ce941
parent8796d17a2670888d8fb975e0b327ecaa362c6f52 (diff)
downloadgitlab-ce-c8f986fe115d19c3f6ec014e20c7399918914d10.tar.gz
fix broken variable referenceremove-iifes-1
-rw-r--r--app/assets/javascripts/abuse_reports.js2
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));
}
}