PluginProbe
Social Media Auto Poster – Schedule & Publish to Buffer / trunk
Social Media Auto Poster – Schedule & Publish to Buffer vtrunk
6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.1.2 6.1.1 6.1.0 6.0.9 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 All 125 releases
wp-to-buffer / lib / shared / js / admin.js

admin.js in Social Media Auto Poster – Schedule & Publish to Buffer trunk, at lib/shared/js/admin.js

20 lines 555 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 jQuery( document ).ready( function( $ ) {
2
3 // Initialize Clipboard
4 if ( typeof Clipboard !== 'undefined' && $( '.clipboard-js' ).length > 0 ) {
5 var wpzinc_clipboard = new Clipboard( '.clipboard-js' );
6 $( document ).on( 'click', '.clipboard-js', function( e ) {
7 e.preventDefault();
8 } );
9 }
10
11 // Populate field on click
12 $( 'body' ).on( 'click', 'a.wpzinc-populate-field-value', function( e ) {
13
14 e.preventDefault();
15
16 $( $( this ).data( 'field' ) ).val( $( this ).data( 'value' ) );
17
18 } );
19
20 } );