mirror of
https://github.com/soapingtime/diyhrt.git
synced 2026-09-04 20:10:19 +02:00
re-initialize and make some changes. repository got to around 2 gigabytes and needed to be more efficient
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
|
||||
|
||||
$(document).ready( function () {
|
||||
|
||||
spawn_tooltips();
|
||||
|
||||
$('#generate_spreadsheet').dataTable( {
|
||||
"drawCallback": function( settings ) {
|
||||
spawn_tooltips();
|
||||
},
|
||||
columnDefs: [
|
||||
{ type: 'any-number', targets : [1,2,3,4] }
|
||||
]
|
||||
} );
|
||||
|
||||
$('#generate_other').dataTable( {
|
||||
"drawCallback": function( settings ) {
|
||||
spawn_tooltips();
|
||||
}
|
||||
} );
|
||||
|
||||
|
||||
$('.copy-text').each(function(index) {
|
||||
$(this).on("click", function(){
|
||||
$(this).select();
|
||||
document.execCommand("copy");
|
||||
$('.tipsy').html('Copied!');
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user