Fix old xvpbuttons references

Things were renamed to the more generic "power" instead of "xvp",
but a few references were overlooked in the merge.
This commit is contained in:
Pierre Ossman 2017-11-14 09:11:28 +01:00
parent b8dfb983df
commit 56f21bf72c
1 changed files with 2 additions and 2 deletions

View File

@ -206,9 +206,9 @@
var powerbuttons;
powerbuttons = document.getElementById('noVNC_power_buttons');
if (rfb.capabilities.power) {
xvpbuttons.className= "noVNC_shown";
powerbuttons.className= "noVNC_shown";
} else {
xvpbuttons.className = "noVNC_hidden";
powerbuttons.className = "noVNC_hidden";
}
}