summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
authorJens Mönig <jens@moenig.org>2013-04-23 08:27:46 -0700
committerJens Mönig <jens@moenig.org>2013-04-23 08:27:46 -0700
commit49998bb0dee32016c5e6242274814dd43e38f681 (patch)
tree96e94d361804a95c0d0e33bf51c4f1a29eb5d47f /objects.js
parent3328d87f2fb95a800e775530e711343cde545e89 (diff)
parentcad54f7433f48a016f3ebc8ae37a6fe75090bcfb (diff)
downloadsnap-49998bb0dee32016c5e6242274814dd43e38f681.tar.gz
snap-49998bb0dee32016c5e6242274814dd43e38f681.zip
Merge pull request #74 from queryselector/issue-23
Fixed #23
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/objects.js b/objects.js
index 1b7027f..f0a8697 100644
--- a/objects.js
+++ b/objects.js
@@ -4476,11 +4476,7 @@ Costume.prototype.edit = function (aWorld) {
dialog.fixLayout();
dialog.drawNew();
dialog.fixLayout();
- if (aWorld) {
- aWorld.add(dialog);
- aWorld.keyboardReceiver = dialog;
- dialog.setCenter(aWorld.center());
- }
+ dialog.popUp(aWorld);
};
// Costume thumbnail