summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/_inc/polldaddy-shortcode.js')
-rw-r--r--plugins/jetpack/_inc/polldaddy-shortcode.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/jetpack/_inc/polldaddy-shortcode.js b/plugins/jetpack/_inc/polldaddy-shortcode.js
index 55c28fdf..73fc0e3a 100644
--- a/plugins/jetpack/_inc/polldaddy-shortcode.js
+++ b/plugins/jetpack/_inc/polldaddy-shortcode.js
@@ -1,11 +1,11 @@
-( function( $ ) {
+( function ( $ ) {
window.polldaddyshortcode = {
- render: function() {
+ render: function () {
var ratings = $( 'div.pd-rating[data-settings]' );
var polls = $( 'div.PDS_Poll[data-settings]' );
if ( polls ) {
- $.each( polls, function() {
+ $.each( polls, function () {
var poll = $( this ).data( 'settings' );
if ( poll ) {
@@ -34,7 +34,7 @@
if ( ratings ) {
var script = '';
- $.each( ratings, function() {
+ $.each( ratings, function () {
var rating = $( this ).data( 'settings' );
if ( rating ) {
@@ -67,7 +67,7 @@
},
};
- $( 'body' ).on( 'post-load pd-script-load', function() {
+ $( 'body' ).on( 'post-load pd-script-load', function () {
window.polldaddyshortcode.render();
} );
$( 'body' ).trigger( 'pd-script-load' );