Fixed usage of deprecated and removed functions
authorAlexander Ebert <ebert@woltlab.com>
Tue, 23 Aug 2016 16:46:35 +0000 (18:46 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 23 Aug 2016 16:46:35 +0000 (18:46 +0200)
wcfsetup/install/files/js/3rdParty/redactor2/plugins/table.js

index c645d594891d136fb27fc6ea4c66e9c65ab25e63..3c8ca3c5259e9feaeaa96b4bd2ebddaef4c9f7bd 100644 (file)
                                        return false;
                                }
 
-                               if ($table.size() === 0)
+                               if ($table.length === 0)
                                {
                                        return false;
                                }
 
                                this.buffer.set();
 
-                               if ($table.find('thead').size() !== 0)
+                               if ($table.find('thead').length !== 0)
                                {
                                        this.table.deleteHead();
                                        return;
                                }
 
                                var $thead = $table.find('thead');
-                               if ($thead.size() === 0)
+                               if ($thead.length === 0)
                                {
                                        return;
                                }