Fixed event target for clipboard actions
authorAlexander Ebert <ebert@woltlab.com>
Tue, 17 Apr 2012 14:54:18 +0000 (16:54 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 17 Apr 2012 14:54:18 +0000 (16:54 +0200)
wcfsetup/install/files/js/WCF.js

index 6194a8a3fd5810874ad7893275eae58a5a9b3599..d1bf12e34eff00f8f700202bded9e17a49676289 100644 (file)
@@ -998,7 +998,7 @@ WCF.Clipboard = {
         * @param       object          event
         */
        _executeAction: function(event) {
-               var $listItem = $(event.target);
+               var $listItem = $(event.currentTarget);
                var $url = $listItem.data('url');
                if ($url) {
                        window.location.href = $url;