@@ -796,7 +796,6 @@ namespace eveui {
796
796
// load required items and set callback to display
797
797
mark ( 'fit window created' ) ;
798
798
cache_fit ( dna ) . done ( function ( ) {
799
- let eveui_window : JQuery = $ ( `.eveui_window[data-eveui-dna="${ dna } "]` ) ;
800
799
eveui_window . find ( '.eveui_content ' ) . html ( format_fit ( dna , eveui_name ) ) ;
801
800
$ ( window ) . trigger ( 'resize' ) ;
802
801
mark ( 'fit window populated' ) ;
@@ -835,15 +834,12 @@ namespace eveui {
835
834
836
835
// load required items and set callback to display
837
836
cache_request ( 'crest/inventory/types/' + item_id , `https://crest-tq.eveonline.com/inventory/types/${ item_id } /` ) . done ( function ( ) {
838
- let eveui_window : JQuery = $ ( `.eveui_window[data-eveui-itemid="${ item_id } "]` ) ;
839
-
840
837
eveui_window . find ( '.eveui_content' ) . html ( format_item ( item_id ) ) ;
841
838
842
839
$ ( window ) . trigger ( 'resize' ) ;
843
840
844
841
mark ( 'item window populated' ) ;
845
842
} ) . fail ( function ( ) {
846
- let eveui_window : JQuery = $ ( `.eveui_window[data-eveui-itemid="${ item_id } "]` ) ;
847
843
eveui_window . remove ( ) ;
848
844
} ) ;
849
845
$ ( window ) . trigger ( 'resize' ) ;
@@ -880,15 +876,12 @@ namespace eveui {
880
876
881
877
// load required chars and set callback to display
882
878
cache_request ( 'crest/characters/' + char_id , `https://crest-tq.eveonline.com/characters/${ char_id } /` ) . done ( function ( ) {
883
- let eveui_window : JQuery = $ ( `.eveui_window[data-eveui-charid="${ char_id } "]` ) ;
884
-
885
879
eveui_window . find ( '.eveui_content' ) . html ( format_char ( char_id ) ) ;
886
880
887
881
$ ( window ) . trigger ( 'resize' ) ;
888
882
889
883
mark ( 'char window populated' ) ;
890
884
} ) . fail ( function ( ) {
891
- let eveui_window : JQuery = $ ( `.eveui_window[data-eveui-charid="${ char_id } "]` ) ;
892
885
eveui_window . remove ( ) ;
893
886
} ) ;
894
887
$ ( window ) . trigger ( 'resize' ) ;
0 commit comments