mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-19 12:52:11 +01:00
Update: Examples syntax highlighter needs to use on
rather than live
This commit is contained in:
parent
0e8e0d6793
commit
6d140835a9
@ -2687,7 +2687,7 @@ var dtLinks = [
|
||||
} );
|
||||
|
||||
/* Click handler to redirect to the documentation */
|
||||
$('code.datatables_ref').live('click', function () {
|
||||
$('body').on('click', 'code.datatables_ref', function () {
|
||||
var i = $.inArray( this.innerHTML.replace(/"/g,''), dtOptions );
|
||||
if ( i !== -1 ) {
|
||||
window.location.href = "http://datatables.net/ref#"+dtLinks[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user