From 26d39b75f22bd6f9c5bff5cc599236487abfd700 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 9 Jun 2017 16:53:12 +0200 Subject: [PATCH] Fixed shallow return value for clipboard access --- .../files/js/WoltLabSuite/Core/Controller/Clipboard.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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(); -- 2.20.1