mirror of https://github.com/gophish/gophish
Remove Unused Variable (#1774)
The timeline_series_data variable is created twice before using it. This resolves that.pull/1785/head
parent
8162a80cb1
commit
2e3aacd22d
|
@ -634,15 +634,6 @@ function poll() {
|
|||
campaign = c
|
||||
/* Update the timeline */
|
||||
var timeline_series_data = []
|
||||
$.each(campaign.timeline, function (i, event) {
|
||||
var event_date = moment.utc(event.time).local()
|
||||
timeline_series_data.push({
|
||||
email: event.email,
|
||||
x: event_date.valueOf(),
|
||||
y: 1
|
||||
})
|
||||
})
|
||||
var timeline_series_data = []
|
||||
$.each(campaign.timeline, function (i, event) {
|
||||
var event_date = moment.utc(event.time).local()
|
||||
timeline_series_data.push({
|
||||
|
|
Loading…
Reference in New Issue