Committer: anazarov
LJSUP-13247: Link Field on Image Editing Dialog & Insert Link DialogU 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),