Skip to content
Permalink
Browse files

tweaks

  • Loading branch information
squallstar committed Dec 2, 2019
1 parent 05ccc78 commit 9d755846c31b193b0d0098280439f80f6ce2134e
Showing with 4 additions and 1 deletion.
  1. +4 −1 js/build.js
@@ -1,6 +1,9 @@
Fliplet.Widget.instance('primary-button', function (data) {
$(this).click(function (event) {
event.preventDefault();
Fliplet.Navigate.to(data.action);

if (data.action) {
Fliplet.Navigate.to(data.action);
}
});
});

0 comments on commit 9d75584

Please sign in to comment.
You can’t perform that action at this time.