From e7acbb314eb96ba48c7562a6fa8090b78917e2e8 Mon Sep 17 00:00:00 2001 From: abe33 Date: Fri, 9 May 2014 09:33:35 +0200 Subject: [PATCH] :confused: Forgot to replace most references to clipboardMetadata Never attempt to fix a PR right before going to sleep! --- src/selection.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/selection.coffee b/src/selection.coffee index 0bcc3d899..04b5e8b45 100644 --- a/src/selection.coffee +++ b/src/selection.coffee @@ -514,8 +514,8 @@ class Selection extends Model if maintainClipboard {text: clipboardText, metadata} = atom.clipboard.readWithMetadata() - if clipboardMetadata? and clipboardMetadata.selections? - clipboardMetadata.selections.push(text) + if metadata? and metadata.selections? + metadata.selections.push(text) else metadata = { selections: [clipboardText, text] }