embed document, fixes #2960

This commit is contained in:
j 2018-03-05 16:55:03 +05:30
commit 1905f6843b
3 changed files with 17 additions and 3 deletions

View file

@ -0,0 +1,9 @@
// vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
pandora.ui.embedDocument = function() {
var that = Ox.Element();
pandora.ui.document().appendTo(that)
return that;
};