Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions js/devtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ $(document).ready(function() {
createGraphButtons();
modifyAndKeepOpenValidatorBox();
var t = setInterval(function() {
if (document.hidden) {
return
}
// check if results exist
if ($('#body') && $('#outer-body') && $('#main') && !hasResized) {
hasResized = true;
Expand Down Expand Up @@ -63,6 +66,9 @@ $(document).ready(function() {

// make results rows clickable to expand
setInterval(function() {
if (document.hidden) {
return
}
$(".row-number").css("background-color", "#F9EDBE");

$(".records-cell").css("max-width", "1000px").css("overflow", "hidden");
Expand Down Expand Up @@ -102,6 +108,9 @@ var hasFoundStatusBox = false;
function modifyAndKeepOpenValidatorBox() {
// make sure validator is always open
setInterval(function() {
if (document.hidden) {
return
}
if ($('.validate-status-box').length > 0) {
$('.validate-status-box').removeClass('ng-hide');
if (!hasFoundStatusBox) {
Expand Down