mirror of
https://github.com/wassname/compare_altcoin_development.git
synced 2026-06-27 16:45:06 +08:00
Update main.js
This commit is contained in:
+3
-1
@@ -236,7 +236,7 @@ function refresh() {
|
||||
// data = parseDates(data)
|
||||
data = fillAll(data, columns)
|
||||
|
||||
$('#table').DataTable({
|
||||
table1 = $('#table').DataTable({
|
||||
data: _.values(data),
|
||||
columns,
|
||||
"order": [
|
||||
@@ -272,6 +272,8 @@ $(document).ready(function() {
|
||||
window.location.reload()
|
||||
})
|
||||
$('#go').on('click', function() {
|
||||
localStorage['gh-data'] = ''
|
||||
table1.destroy();
|
||||
refresh()
|
||||
})
|
||||
refresh()
|
||||
|
||||
Reference in New Issue
Block a user