I am using 1.10.2 with table tools, when first rendering the table I am geting this error

I am using 1.10.2 with table tools, when first rendering the table I am geting this error

LeviDLeviD Posts: 2Questions: 2Answers: 0

TypeError: 'undefined' is not a function (evaluating '$('#progresstable').DataTable')

The table is not correctly displayed, rows and header are broken.
After click on page refresh, no more errors and the table is displayed correctly.
Don't know how to fix it. Additional info in the Safari console:
progresstable:9
which points to:
<link data-turbolinks-track="true" href="/assets/jquery-ui/core.css?body=1" media="all" rel="stylesheet" />

This discussion has been closed.