diff options
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/fileactions.js | 2 | ||||
-rw-r--r-- | apps/files/js/files.js | 6 | ||||
-rw-r--r-- | apps/files/js/sidebarpreviewtext.js | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 505ab21c10c..8790eae9c98 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -557,7 +557,7 @@ // recreate fileactions container nameLinks = parent.children('a.name'); nameLinks.find('.fileactions, .nametext .action').remove(); - nameLinks.append('<span class="fileactions" />'); + nameLinks.append('<span class="fileactions"></span>'); var defaultAction = this.getDefaultFileAction( this.getCurrentMimeType(), this.getCurrentType(), diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 03778fb92f9..ae247584682 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -422,12 +422,12 @@ var createDragShadow = function(event) { $(selectedFiles).each(function(i,elem) { // TODO: refactor this with the table row creation code - var newtr = $('<tr/>') + var newtr = $('<tr></tr>') .attr('data-dir', dir) .attr('data-file', elem.name) .attr('data-origin', elem.origin); - newtr.append($('<td class="filename" />').text(elem.name).css('background-size', 32)); - newtr.append($('<td class="size" />').text(OC.Util.humanFileSize(elem.size))); + newtr.append($('<td class="filename"></td>').text(elem.name).css('background-size', 32)); + newtr.append($('<td class="size"></td>').text(OC.Util.humanFileSize(elem.size))); tbody.append(newtr); if (elem.type === 'dir') { newtr.find('td.filename') diff --git a/apps/files/js/sidebarpreviewtext.js b/apps/files/js/sidebarpreviewtext.js index 3053cd6945d..f786a9a3e4d 100644 --- a/apps/files/js/sidebarpreviewtext.js +++ b/apps/files/js/sidebarpreviewtext.js @@ -25,7 +25,7 @@ $thumbnailDiv.removeClass('icon-loading icon-32'); $thumbnailContainer.addClass('large'); $thumbnailContainer.addClass('text'); - var $textPreview = $('<pre/>').text(content); + var $textPreview = $('<pre></pre>').text(content); $thumbnailDiv.children('.stretcher').remove(); $thumbnailDiv.append($textPreview); $thumbnailContainer.css("max-height", previewHeight); |