summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/public-post-preview/js/public-post-preview.js')
-rw-r--r--plugins/public-post-preview/js/public-post-preview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/public-post-preview/js/public-post-preview.js b/plugins/public-post-preview/js/public-post-preview.js
index cc5d1e12..e25a188e 100644
--- a/plugins/public-post-preview/js/public-post-preview.js
+++ b/plugins/public-post-preview/js/public-post-preview.js
@@ -32,7 +32,7 @@
*/
change : function() {
var t = this,
- checked = t.checkbox.prop( 'checked' ) ? 1 : 0;
+ checked = t.checkbox.prop( 'checked' ) ? 'true' : 'false';
// Toggle visibility of the link
t.link.toggle();