Ticke 717: remove copy on click
This commit is contained in:
parent
876ddd0ff2
commit
eae038b951
1 changed files with 0 additions and 12 deletions
|
|
@ -40,16 +40,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
document.addEventListener('click', function(event) {
|
||||
if (event.target.type === 'text' || event.target.type === 'url') {
|
||||
if (event.target.value.length > 0) {
|
||||
event.target.select();
|
||||
document.execCommand("copy");
|
||||
//console.log(event.target.value);
|
||||
}
|
||||
}
|
||||
|
||||
}, false);
|
||||
</script>
|
||||
@endsection
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue