summaryrefslogtreecommitdiff
path: root/views/partials/syndication-js.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2016-05-20 07:57:59 -0700
committerAaron Parecki <aaron@parecki.com>2016-05-20 07:57:59 -0700
commitbc2ce00d55741de7c91d41dd3bc6e8e515c3f9e9 (patch)
treef6cd3f4878f14ab90487c78c98358b7d37e2b205 /views/partials/syndication-js.php
parentfaf0bcc2c3dd94933540a4aff68534cc58013260 (diff)
check for saveNoteState function
Diffstat (limited to 'views/partials/syndication-js.php')
-rw-r--r--views/partials/syndication-js.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/partials/syndication-js.php b/views/partials/syndication-js.php
index cd50c3b..90331ba 100644
--- a/views/partials/syndication-js.php
+++ b/views/partials/syndication-js.php
@@ -20,7 +20,9 @@ function reload_syndications() {
function bind_syndication_buttons() {
$("#syndication-container button").unbind("click").click(function(){
$(this).toggleClass('btn-info');
- saveNoteState();
+ if(window.saveNoteState) {
+ saveNoteState();
+ }
return false;
});
}