From: Alexander Ebert Date: Tue, 23 Aug 2016 16:46:35 +0000 (+0200) Subject: Fixed usage of deprecated and removed functions X-Git-Tag: 3.0.0_Beta_1~558^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e695a55f7627e1f8f890ffd9f25e5d00622044ec;p=GitHub%2FWoltLab%2FWCF.git Fixed usage of deprecated and removed functions --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/table.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/table.js index c645d59489..3c8ca3c525 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/table.js +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/table.js @@ -231,7 +231,7 @@ return false; } - if ($table.size() === 0) + if ($table.length === 0) { return false; } @@ -335,7 +335,7 @@ this.buffer.set(); - if ($table.find('thead').size() !== 0) + if ($table.find('thead').length !== 0) { this.table.deleteHead(); return; @@ -362,7 +362,7 @@ } var $thead = $table.find('thead'); - if ($thead.size() === 0) + if ($thead.length === 0) { return; }