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

[livejournal] r22717: LJSUP-13017: Paid Repost in update.bml a...

Committer: anazarov
LJSUP-13017: Paid Repost in update.bml and editjournal.bml
U   trunk/htdocs/js/rte.js
Modified: trunk/htdocs/js/rte.js
===================================================================
--- trunk/htdocs/js/rte.js	2012-08-22 08:25:08 UTC (rev 22716)
+++ trunk/htdocs/js/rte.js	2012-08-22 08:54:37 UTC (rev 22717)
@@ -11,6 +11,10 @@
 		$('#draft').on('change keyup paste', function () {
 			LiveJournal.run_hook('editor_data_changed', $(this).val());
 		});
+
+		setTimeout(function () {
+			$('#draft').trigger('change');
+		}, 0);
 	});
 
 	window.initEditor = function(data) {

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