diff --git a/www/code/inner.js b/www/code/inner.js index 2eb433c01..d74513035 100644 --- a/www/code/inner.js +++ b/www/code/inner.js @@ -257,8 +257,8 @@ define([ 'class': 'cp-splitter' }).appendTo($previewContainer); - $preview.on('scroll', function() { - splitter.css('top', $preview.scrollTop() + 'px'); + $previewContainer.on('scroll', function() { + splitter.css('top', $previewContainer.scrollTop() + 'px'); }); var $target = $codeMirrorContainer; diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 011bb587b..60b0571c8 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1069,6 +1069,7 @@ define([ editor.replaceSelections(newTexts, 'around'); editor.focus(); }; + Messages.mdToolbar_embed = "Embed file"; // XXX for (var k in actions) { $('