diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/partials/syndication-js.php | 4 |
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; }); } |