Skip to content

Commit

Permalink
Sharing: remove inline JS used in the hidden email sharing form. (#8149)
Browse files Browse the repository at this point in the history
This JS was previously removed in #6339, but then added back (I think during a rebase) in #6332.
  • Loading branch information
jeherve authored and oskosk committed Nov 23, 2017
1 parent 4941fe2 commit 40e9a33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/sharedaddy/sharing-sources.php
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,6 @@ public function display_footer() {

<?php endif; ?>
<input type="text" id="jetpack-source_f_name" name="source_f_name" class="input" value="" size="25" autocomplete="off" title="<?php esc_attr_e( 'This field is for validation and should not be changed', 'jetpack' ); ?>" />
<script>jQuery( document ).ready( function(){ document.getElementById('jetpack-source_f_name').value = '' });</script>
<?php
/**
* Fires when the Email sharing dialog is loaded.
Expand Down

0 comments on commit 40e9a33

Please sign in to comment.