Update ServerHider.plugin.js

This commit is contained in:
Mirco Wittrien 2017-08-23 23:11:12 +02:00 committed by GitHub
parent cd2e0ce38d
commit 88bdb4f023
1 changed files with 2 additions and 3 deletions

View File

@ -177,8 +177,7 @@ class ServerHider {
`;
this.modalMarkup =
`<div class="flexcroll">
<span class="serverhider-modal">
`<span class="serverhider-modal">
<div class="callout-backdrop serverhider" style="background-color:#000; opacity:0.85"></div>
<div class="modal" style="opacity: 1">
<div class="modal-inner">
@ -259,7 +258,7 @@ class ServerHider {
}
);
});
this.serverContextObserver.observe($("#app-mount>:first-child")[ 0 ], { childList: true });
this.serverContextObserver.observe($("#app-mount>:first-child")[0], {childList: true});
$('head').append(this.css);