mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-26 06:41:22 -04:00
ooops. régis can't refactor...
This commit is contained in:
parent
35214f0b3a
commit
7938843b50
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ Discourse.UploadSelectorView = Discourse.ModalBodyView.extend({
|
|||
// cf. http://stackoverflow.com/a/9851769/11983
|
||||
var isChrome = !!window.chrome && !(!!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0);
|
||||
// chrome is the only browser that support copy & paste of images.
|
||||
return I18n.t("upload_selector.hint" + (this.get("isChrome") ? "_for_chrome" : ""));
|
||||
return I18n.t("upload_selector.hint" + (isChrome ? "_for_chrome" : ""));
|
||||
}.property(),
|
||||
|
||||
didInsertElement: function() {
|
||||
|
|
Loading…
Add table
Reference in a new issue