Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r22616: LJSUP-13247: Link Field on Image Editing...

Committer: anazarov
LJSUP-13247: Link Field on Image Editing Dialog & Insert Link Dialog
U   trunk/htdocs/js/ck/plugins/livejournal/plugin.js
Modified: trunk/htdocs/js/ck/plugins/livejournal/plugin.js
===================================================================
--- trunk/htdocs/js/ck/plugins/livejournal/plugin.js	2012-08-10 08:32:08 UTC (rev 22615)
+++ trunk/htdocs/js/ck/plugins/livejournal/plugin.js	2012-08-10 08:38:08 UTC (rev 22616)
@@ -803,7 +803,7 @@
 									height: selected.getAttribute('height'),
 
 									link: parentHref || "",
-									blank: hasParentLink && parentLink.getAttribute('target'),
+									blank: (hasParentLink? !!parentLink.getAttribute('target') : true),
 
 									border: parseInt(selected.getStyle('border-width'), 10),
 									vspace: parseInt(selected.getStyle('margin-top'), 10),

Tags: anazarov, js, livejournal, nfokz
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments