From: Daniel Rudolf Date: Thu, 14 Feb 2013 16:05:48 +0000 (+0100) Subject: changed .getTagName() syntax X-Git-Tag: 2.0.0_Beta_1~483^2^2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d487dd36fdde41044afa119b2ef655831fe95924;p=GitHub%2FWoltLab%2FWCF.git changed .getTagName() syntax --- diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 0ed82981b2..48d1d17e36 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -149,9 +149,7 @@ $.fn.extend({ * @returns string */ getTagName: function() { - return (this.length > 0) - ? this.get(0).tagName.toLowerCase() - : ''; + return (this.length) ? this.get(0).tagName.toLowerCase() : ''; }, /**