Skip to content

Commit 6487444

Browse files
Merge pull request #1087 from Codeinwp/bugfix/1086
Enabled clipboard access for copy links
2 parents 0926f66 + e95cf39 commit 6487444

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inc/dam.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ public function render_dashboard_page() {
429429
display: none !important;
430430
}
431431
</style>
432-
<iframe id="om-dam" style="display: none;" src="<?php echo( $this->build_iframe_url() ); ?>"></iframe>
432+
<iframe id="om-dam" style="display: none;" src="<?php echo( $this->build_iframe_url() ); ?>" allow="clipboard-read; clipboard-write"></iframe>
433433
<div class="om-dam-loader">
434434
<img src="<?php echo esc_url( OPTML_URL . 'assets/img/logo.png' ); ?>" alt="Optimole Logo"
435435
class="om-dam-logo">

0 commit comments

Comments
 (0)