From c459b3df5e6a8229fb0da1f4f3ea3db3501e6d2a Mon Sep 17 00:00:00 2001
From: john <johnbarlas39@gmail.com>
Date: Thu, 8 Dec 2016 20:58:59 +0200
Subject: [PATCH] better fn name

---
 app/components/SimpleEditor/ContainerEditor.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/components/SimpleEditor/ContainerEditor.js b/app/components/SimpleEditor/ContainerEditor.js
index 59b6715..522f6fb 100644
--- a/app/components/SimpleEditor/ContainerEditor.js
+++ b/app/components/SimpleEditor/ContainerEditor.js
@@ -52,7 +52,7 @@ class ContainerEditor extends SubstanceContainerEditor {
     this.container.on('nodes:changed', this.onContainerChange, this)
     if (this.isEmpty()) this.createText()
 
-    if (this.isReadOnlyMode()) this.links()
+    if (this.isReadOnlyMode()) this.addTargetToLinks()
   }
 
   // create an empty paragraph with an empty node
@@ -104,7 +104,7 @@ class ContainerEditor extends SubstanceContainerEditor {
     return !this.isEditable() && this.isSelectable()
   }
 
-  links () {
+  addTargetToLinks () {
     const allLinks = this.el.findAll('a')
     each(allLinks, link =>
       link.attr('target', '_blank')
-- 
GitLab