fix of wrong name of option to display image preview

This commit is contained in:
Simon Grim 2015-05-20 12:56:54 +05:00
parent ede178eb32
commit 7fa35cd23b

View File

@ -627,7 +627,7 @@ var postExpandFunction = function( e, postLi )
$postExpandedContent.slideDown( "fast" );
if ($.Options.showPreview.val === 'enable') {
if ($.Options.displayPreview.val === 'enable') {
var previewContainer=$postExpandedContent.find(".preview-container")[0];
/* was the preview added before... */
if ($(previewContainer).children().length == 0) {