Browse Source

removed ressource

master
Marius Ciepluch 7 years ago
committed by GitHub
parent
commit
9b570463f7
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      assets/javascripts/lib/utilities.js

+ 0
- 7
assets/javascripts/lib/utilities.js

@ -1,7 +0,0 @@
Discourse.Utilities.getUploadMarkdown = function(upload) {
if (Discourse.Utilities.isAnImage(upload.original_filename)) {
return '<figure><img src="' + upload.url + '" width="' + upload.width + '" height="' + upload.height + '"></figure>';
} else {
return '<a class="attachment" href="' + upload.url + '">' + upload.original_filename + '</a> (' + I18n.toHumanSize(upload.filesize) + ')';
}
};

Loading…
Cancel
Save