From 8b0cabda449e04a7b27c218b2b2a7609039ac5fe Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 12 Jul 2013 16:35:22 +0200 Subject: [PATCH] Only load marked clipboard items if clipboard containers exist --- wcfsetup/install/files/js/WCF.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index d98f033d8d..91e696816f 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -1128,7 +1128,7 @@ WCF.Clipboard = { }, this)); // loads marked items - if (this._hasMarkedItems) { + if (this._hasMarkedItems && this._containers.length) { this._loadMarkedItems(); } -- 2.20.1