Plugin Directory

Changeset 1071119


Ignore:
Timestamp:
01/19/2015 03:50:14 PM (11 years ago)
Author:
srijith.v
Message:

Fixing JS error in async mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • addthis/trunk/includes/addthis_addjs_new.php

    r1069466 r1071119  
    162162            $addthis_asynchronous_loading = (isset($addthis_settings_options['addthis_asynchronous_loading']))?$addthis_settings_options['addthis_asynchronous_loading']:false;
    163163            $this->jsToAdd .= '<script type="text/javascript" src="//s7.addthis.com/js/'.$this->atversion.'/addthis_widget.js#pubid='. urlencode( $this->pubid ).'" async="async"></script>';
    164             $this->jsToAdd .= '<script type="text/javascript">jQuery(document).ready(function($) { addthis.init(); }); </script>';
    165164        }
    166165    }
Note: See TracChangeset for help on using the changeset viewer.