From e695a55f7627e1f8f890ffd9f25e5d00622044ec Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 23 Aug 2016 18:46:35 +0200 Subject: [PATCH] Fixed usage of deprecated and removed functions --- .../install/files/js/3rdParty/redactor2/plugins/table.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.20.1