diff --git a/app/views/editor/thang/ExportThangTypeModal.coffee b/app/views/editor/thang/ExportThangTypeModal.coffee index 572b659e6..0dca28ba8 100644 --- a/app/views/editor/thang/ExportThangTypeModal.coffee +++ b/app/views/editor/thang/ExportThangTypeModal.coffee @@ -38,8 +38,6 @@ module.exports = class ExportThangTypeModal extends ModalView onExporterBuild: (e) -> @spriteSheet = e.spriteSheet - $('body').empty().append(@spriteSheet._images[0]) - return src = @spriteSheet._images[0].toDataURL() src = src.replace('data:image/png;base64,', '').replace(/\ /g, '+') body = diff --git a/app/views/editor/thang/ThangTypeEditView.coffee b/app/views/editor/thang/ThangTypeEditView.coffee index e3d2c13d6..940492f73 100644 --- a/app/views/editor/thang/ThangTypeEditView.coffee +++ b/app/views/editor/thang/ThangTypeEditView.coffee @@ -210,7 +210,6 @@ module.exports = class ThangTypeEditView extends RootView @patchesView = @insertSubView(new PatchesView(@thangType), @$el.find('.patches-view')) @showReadOnly() if me.get('anonymous') @updatePortrait() - @onClickExportSpriteSheetButton() initComponents: => options =