From 7eb84f3d0c52ce02a83da4eadb81326c573d3817 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 27 Jul 2014 16:56:56 +0200 Subject: [PATCH] Some cleanup --- wcfsetup/install/files/js/WCF.Attachment.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/WCF.Attachment.js b/wcfsetup/install/files/js/WCF.Attachment.js index 2acaf7158e..fb41f4035e 100644 --- a/wcfsetup/install/files/js/WCF.Attachment.js +++ b/wcfsetup/install/files/js/WCF.Attachment.js @@ -95,8 +95,7 @@ WCF.Attachment.Upload = WCF.Upload.extend({ var $uploadID; // show tab - var $tabMenuContainer = this._fileListSelector.closest('.messageTabMenu') - $tabMenuContainer.messageTabMenu('showTab', 'attachments', true); + this._fileListSelector.closest('.messageTabMenu').messageTabMenu('showTab', 'attachments', true); if (data.file) { $uploadID = this._upload(undefined, data.file); -- 2.20.1