Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r20080: LJSUP-9542: RTE - lj-map placeholder

Committer: vkurkin
LJSUP-9542: RTE - lj-map placeholder
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	2011-09-20 06:09:45 UTC (rev 20079)
+++ trunk/htdocs/js/ck/plugins/livejournal/plugin.js	2011-09-20 06:09:51 UTC (rev 20080)
@@ -1163,8 +1163,8 @@
 					},
 					'lj-map': function(element) {
 						return new CKEDITOR.htmlParser.fragment.fromHtml('' + '<div style="' + 'width: ' + (isNaN(element.attributes
-							.width) ? 100 : element.attributes.width) + 'px;' + 'height: ' + (isNaN(element.attributes
-							.height) ? 100 : element.attributes
+							.width) ? 500 : element.attributes.width) + 'px;' + 'height: ' + (isNaN(element.attributes
+							.height) ? 350 : element.attributes
 							.height) + 'px;"' + 'contentEditable="false"' + 'lj-url="' + (encodeURIComponent(element.attributes
 							.url) || '') + '"' + 'class="lj-map"><p>map</p>' + '</div>').children[0];
 					},

Tags: b_vladi, js, livejournal
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