Skip to content

Commit

Permalink
fixed boolean values stripped by wp_localize_script
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Malan committed Jul 30, 2014
1 parent 219a267 commit 62b536a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascripts/sranalytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
__sranalyticsPluginVersion = sranalytics.version;
__reach_config = {
pid: sranalytics.pid,
iframe: sranalytics.iframe,
iframe: sranalytics.iframe === '0' ? false : true,
title: sranalytics.title,
url: sranalytics.url,
date: sranalytics.date,
Expand Down

0 comments on commit 62b536a

Please sign in to comment.