Update main.js

This commit is contained in:
MSFTserver
2017-12-14 12:55:51 -08:00
committed by GitHub
parent 0136a1bc92
commit 7a37ceae36
+3 -1
View File
@@ -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()