From d487dd36fdde41044afa119b2ef655831fe95924 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Thu, 14 Feb 2013 17:05:48 +0100 Subject: [PATCH] changed .getTagName() syntax --- wcfsetup/install/files/js/WCF.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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() : ''; }, /** -- 2.20.1