@@ -12,11 +12,13 @@ import _ from "underscore";
12
12
import "../../binding/focus" ;
13
13
import { PreviewSortableSortUpdateEventParams } from "../../binding/sortable-children" ;
14
14
import Config from "../../config" ;
15
+ import ContentTypeCollectionInterface from "../../content-type-collection" ;
15
16
import ContentTypeConfigInterface from "../../content-type-config.d" ;
16
17
import createContentType from "../../content-type-factory" ;
17
18
import Option from "../../content-type-menu/option" ;
18
19
import OptionInterface from "../../content-type-menu/option.d" ;
19
20
import ContentTypeInterface from "../../content-type.d" ;
21
+ import ContentTypeAfterRenderEventParamsInterface from "../content-type-after-render-event-params" ;
20
22
import ContentTypeCreateEventParamsInterface from "../content-type-create-event-params.d" ;
21
23
import ContentTypeMountEventParamsInterface from "../content-type-mount-event-params.d" ;
22
24
import ContentTypeDuplicateEventParamsInterface from "../content-type-ready-event-params.d" ;
@@ -26,8 +28,6 @@ import ObservableUpdater from "../observable-updater";
26
28
import PreviewCollection from "../preview-collection" ;
27
29
import Slide from "../slide/preview" ;
28
30
import { default as SliderPreview } from "../slider/preview" ;
29
- import ContentTypeAfterRenderEventParamsInterface from "../content-type-after-render-event-params" ;
30
- import ContentTypeCollectionInterface from "../../content-type-collection" ;
31
31
32
32
export default class Preview extends PreviewCollection {
33
33
public focusedSlide : KnockoutObservable < number > = ko . observable ( ) ;
@@ -247,8 +247,6 @@ export default class Preview extends PreviewCollection {
247
247
*/
248
248
protected bindEvents ( ) {
249
249
super . bindEvents ( ) ;
250
-
251
-
252
250
// We only start forcing the containers height once the slider is ready
253
251
let sliderReady : boolean = false ;
254
252
events . on ( "slider:contentType:ready" , ( args : ContentTypeReadyEventParamsInterface ) => {
0 commit comments