Skip to content

Commit a96bd46

Browse files
committed
updated js
1 parent 0fb75ea commit a96bd46

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

amd/build/embed.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/build/embed.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

amd/src/embed.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import {get_string as getString} from 'core/str';
2525
import * as ModalEvents from 'core/modal_events';
2626
import Templates from 'core/templates';
27-
import * as Modal from 'core/modal_factory';
27+
import Modal from 'core/modal';
2828
import Config from 'core/config';
2929

3030
export const SketchEmbed = class {
@@ -47,7 +47,6 @@ export const SketchEmbed = class {
4747

4848
async displayDialogue() {
4949
Modal.create({
50-
type: Modal.types.DEFAULT,
5150
title: getString('sketchtitle', 'tiny_sketch'),
5251
body: Templates.render('tiny_sketch/sketch_iframe', {
5352
src: this.getIframeURL()

0 commit comments

Comments
 (0)