1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

Fixes #749 Fix media

This commit is contained in:
Denis Shakhov 2016-03-31 17:41:41 +07:00
parent 2e7e28b723
commit e7d418d559

View file

@ -243,7 +243,7 @@
// Обновляем настройки
if ( this.getActiveTabName() == 'insert' && file.lsUploaderFile( 'getProperty', 'type' ) == '1' ) {
var block = this.elements.blocks.find('.js-media-info-block-image-options');
var block = this.elements.blocks.filter('.js-media-info-block-image-options');
var sizes = block.find( 'select[name=size]' );
sizes.find( 'option:not([value=original])' ).remove();