Update media-library.js

Fixed typo
This commit is contained in:
Gustavo Tandeciarz
2015-10-13 07:26:52 -04:00
parent 99695f07cc
commit a37e548b25

View File

@@ -75,7 +75,7 @@ $(function () {
var itemHeight = $('#media-library-main-list li').first().height();
var defaultDimension = $(window).width() < 1420 ? 120 : 200;
if (itemHeight == 0 || itemHeight == null) itemHeight = defaultDimension;
if (itemWidth == 0 || itemHeight == null) itemWidth = defaultDimension;
if (itemWidth == 0 || itemWidth == null) itemWidth = defaultDimension;
var draftText = $("#media-library").data("draft-text");
var itemsPerRow = Math.floor(listWidth / itemWidth);