Typeo in fnReloadAjax plugin code

Typeo in fnReloadAjax plugin code

RussPeteRussPete Posts: 1Questions: 0Answers: 0
edited December 2013 in Web-site
On the http://datatables.net/plug-ins/api page in the fnReloadAjax code there is a typeo on line 62. Currently is shows

if ( typeof fnCallback == function' && fnCallback !== null )

and it should be

if ( typeof fnCallback == 'function' && fnCallback !== null )

Small change, missing the first single-quote in front of function.

Replies

  • allanallan Posts: 61,697Questions: 1Answers: 10,102 Site admin
    Thanks for this. I'm not sure what is causing that error as it is correct in git - something in the way it is "readied" for the page I think... Doh. I'll take a look into it shortly.

    Allan
This discussion has been closed.