We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9512dc commit ae8f53dCopy full SHA for ae8f53d
public/themes/pterodactyl/js/frontend/console.js
@@ -62,8 +62,11 @@ var CONSOLE_PUSH_FREQ = 200;
62
63
$(document).ready(function () {
64
$('[data-attr="power"]').click(function (event) {
65
- Socket.emit('set status', $(this).data('action'));
+ if (! $(this).hasClass('disabled')) {
66
+ Socket.emit('set status', $(this).data('action'));
67
+ }
68
});
69
+
70
var ctc = $('#chart_cpu');
71
var timeLabels = [];
72
var cpuData = [];
0 commit comments