Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Cannot reinitialise DataTable.

$
0
0

Replies: 0

Hi,
Tablepress seems to be getting initialised twice into the website’s main JS, causing an alert to appear. I cannot figure out why this is occuring; would anyone have an idea?

Unfortunately I cannot disable the login to the website, but I got a copy of the page here
https://gist.github.com/mb1069/d959669cec237208c9d00c0585a1e63a

The offending lines are those containing $(‘#tablepress-462’).dataTable(…)
Which occur at line 3067 and 3447.

I am using the MasterStudy theme, but I haven’t found anything in the settings / code so far to suggest this is the cause.

Thanks for a great plugin,

Miguel


Viewing all articles
Browse latest Browse all 59525

Trending Articles