core/admin/assets/js/blog.js
/** * global window, * history, * jQuery, * Showdown, * CodeMirror **/ (function ($) { "use strict"; $(document).ready(function () {

Shadow on Markdown if scrolled

$('.content-list-content').scroll(function(e) { if ($('.content-list-content').scrollTop() > 10) { $('.content-list').addClass('scrolling'); } else { $('.content-list').removeClass('scrolling'); } });

Shadow on Preview if scrolled

$('.content-preview-content').scroll(function(e) { if ($('.content-preview-content').scrollTop() > 10) { $('.content-preview').addClass('scrolling'); } else { $('.content-preview').removeClass('scrolling'); } }); }); }(jQuery));