mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
Update media-library.js
Fixed typo
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user