From: Alexander Ebert Date: Fri, 9 Jun 2017 14:53:12 +0000 (+0200) Subject: Fixed shallow return value for clipboard access X-Git-Tag: 3.1.0_Alpha_1~387 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=26d39b75f22bd6f9c5bff5cc599236487abfd700;p=GitHub%2FWoltLab%2FWCF.git Fixed shallow return value for clipboard access --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard.js index 6e83f65ba3..ceb43cc4f3 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard.js @@ -23,8 +23,7 @@ define( "use strict"; if (!COMPILER_TARGET_DEFAULT) { - var Fake = function() {}; - Fake.prototype = { + return { setup: function() {}, reload: function() {}, _initContainers: function() {}, @@ -42,7 +41,6 @@ define( showEditor: function() {}, unmark: function() {} }; - return Fake; } var _containers = new Dictionary();