rubyforgood/babywearing

View on GitHub
app/assets/javascripts/bootstrap_data_table.js

Summary

Maintainability
A
0 mins
Test Coverage
//= require bootstrap-table/bootstrap-table

// In order for bootstrapTable to work we need to load it on the correct
// turbolinks event.
$(document).on("turbolinks:load", function() {
  $('[data-toggle="table"]').bootstrapTable();
});