./README.md in smart_table-0.0.10 vs ./README.md in smart_table-0.0.11
- old
+ new
@@ -189,5 +189,7 @@
```javascript
$(document).on('ready smart_table:ajax_update', function(event) {
// do whatever here
});
```
+
+Also, if you use turbolinks, consider listening to the event `turbolinks:load` too, so your javascript code will also run when the page is first loaded via a turbolinks visit.