Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz committed Jun 30, 2024
1 parent 0769cc1 commit f9bd5d4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions templates/development.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,6 @@ class="copy-clipboard"
// toggle code block visibility
stackItem.querySelector('.show-arguments-toggle')?.addEventListener('click', function (e) {
e.stopPropagation()
console.log('click')
// function-arguments-wrap

stackItem.getElementsByClassName('function-arguments-wrap')[0].classList.toggle('hidden')
});
Expand All @@ -266,8 +264,8 @@ class="copy-clipboard"
arguments?.addEventListener('select', function (e) {
e.stopPropagation()
e.stopImmediatePropagation()

})

arguments?.addEventListener('click', function (e) {
e.stopPropagation()
// stop click event on selecting text
Expand Down

0 comments on commit f9bd5d4

Please sign in to comment.