|
@@ -43,7 +43,7 @@ contextMenuInit = function(){
|
|
|
|
|
|
})
|
|
})
|
|
|
|
|
|
- gradioApp().getRootNode().appendChild(contextMenu)
|
|
|
|
|
|
+ gradioApp().appendChild(contextMenu)
|
|
|
|
|
|
let menuWidth = contextMenu.offsetWidth + 4;
|
|
let menuWidth = contextMenu.offsetWidth + 4;
|
|
let menuHeight = contextMenu.offsetHeight + 4;
|
|
let menuHeight = contextMenu.offsetHeight + 4;
|