We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c360d6d commit bdcef59Copy full SHA for bdcef59
1 file changed
views/devpanel.js
@@ -61,14 +61,13 @@ function processMainIncomingMessage(msg) {
61
62
function setupInspector(context) {
63
if ((inspector instanceof InspectorJSON)) {
64
- inspector.view(context);
65
- } else {
66
- inspector = new InspectorJSON({
67
- element: 'pagecontext',
68
- url: context.url.path,
69
- json: context
70
- });
+ destroyInspector();
71
}
+ inspector = new InspectorJSON({
+ element: 'pagecontext',
+ url: (context.url.hostname + context.url.path),
+ json: context
+ });
72
73
74
function destroyInspector() {
0 commit comments