Feedback check interval to const
This commit is contained in:
parent
6247acfcd2
commit
3d126579ce
|
@ -6,12 +6,14 @@
|
||||||
import FeedbackIframe from "./FeedbackIframe.svelte"
|
import FeedbackIframe from "./FeedbackIframe.svelte"
|
||||||
import analytics from "analytics"
|
import analytics from "analytics"
|
||||||
|
|
||||||
|
const FIVE_MINUTES = 300000
|
||||||
|
|
||||||
let iconContainer
|
let iconContainer
|
||||||
let popover
|
let popover
|
||||||
|
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
$store.highlightFeedbackIcon = analytics.highlightFeedbackIcon()
|
$store.highlightFeedbackIcon = analytics.highlightFeedbackIcon()
|
||||||
}, 300000 /*check every 5 minutes*/)
|
}, FIVE_MINUTES)
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<span
|
<span
|
||||||
|
|
Loading…
Reference in New Issue