mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Merged the two create functions
This commit is contained in:
@@ -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*/
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user