Merged the two create functions

This commit is contained in:
unsettledgames
2021-07-15 16:33:26 +02:00
parent eada155375
commit 4f4091ebb3
8 changed files with 20 additions and 80 deletions

View File

@@ -48,7 +48,7 @@ const Dialogue = (() => {
}
//track google event
if (trackEvent)
if (trackEvent && typeof ga !== 'undefined')
ga('send', 'event', 'Palette Editor Dialogue', dialogueName); /*global ga*/
}