diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-01-19 01:19:51 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-01-19 01:19:51 +0300 |
commit | 1bf26f7aadd94e32a9cd7f78ce0b21f185f7cae3 (patch) | |
tree | 292aad931f4445e35f37517db88311db1b60120b /app/assets/javascripts/shortcuts_issuable.js | |
parent | 3c9e556b9e1da01df0cf6527cc3468f9fed9dfeb (diff) |
Move some functions to utils
Diffstat (limited to 'app/assets/javascripts/shortcuts_issuable.js')
-rw-r--r-- | app/assets/javascripts/shortcuts_issuable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/shortcuts_issuable.js b/app/assets/javascripts/shortcuts_issuable.js index e9ede122ab7..363379f49ae 100644 --- a/app/assets/javascripts/shortcuts_issuable.js +++ b/app/assets/javascripts/shortcuts_issuable.js @@ -41,7 +41,7 @@ ShortcutsIssuable.prototype.replyWithSelectedText = function() { var quote, replyField, documentFragment, selected, separator; - documentFragment = window.gl.CopyAsGFM.getSelectedFragment(); + documentFragment = window.gl.utils.getSelectedFragment(); if (!documentFragment) return; selected = window.gl.CopyAsGFM.nodeToGFM(documentFragment); |