forked from 0x2620/pandora
use embedGrid
This commit is contained in:
parent
be21e64f59
commit
ec652cc06e
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ pandora.ui.embedPanel = function() {
|
|||
|
||||
if (ui.section != 'texts' && !ui.page) {
|
||||
if (!ui.item) {
|
||||
if (Ox.contains(['grid', 'clip'], view)) {
|
||||
if (view == 'grid') {
|
||||
that = pandora.ui.embedGrid();
|
||||
} else if (view == 'clip') {
|
||||
that = pandora.ui.embedError(true);
|
||||
} else if (view == 'video') {
|
||||
that = pandora.ui.videoView(true);
|
||||
|
|
Loading…
Reference in a new issue