Skip to content

Commit

Permalink
1.修复bug,zeppelin notebook刷新后页面元素重排导致css选择器失效。
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxtq committed Dec 10, 2024
1 parent 5de4ad6 commit 32cf8aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion v8/src/main/resources/static/highcharts/hideTableBtns.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<script>
document.querySelectorAll('[id=\"PARAGRAPH_ID_container\"] > div:nth-child(1) > .tableDisplay.ng-scope')[TABLE_NUMBER].querySelector("div:nth-child(1) > div:nth-child(1)").style.display='none';
setTimeout(function(){
document.querySelectorAll('[id=\"PARAGRAPH_ID_container\"] > div:nth-child(1) > .tableDisplay.ng-scope')[TABLE_NUMBER].querySelector("div:nth-child(1) > div:nth-child(1)").style.display='none';
}, 10);
</script>

0 comments on commit 32cf8aa

Please sign in to comment.