1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-31 18:50:14 +02:00

add events for detach preview and css setting btn

This commit is contained in:
Kushagra Gour
2017-09-20 02:04:57 +05:30
parent 36a6d78907
commit 8d5a348c1f

View File

@@ -1859,6 +1859,8 @@ globalConsoleContainerEl
} }
scope.openDetachedPreview = function() { scope.openDetachedPreview = function() {
trackEvent('ui', 'detachPreviewBtnClick');
if (scope.detachedWindow) { if (scope.detachedWindow) {
scope.detachedWindow.focus(); scope.detachedWindow.focus();
return; return;
@@ -1895,6 +1897,7 @@ globalConsoleContainerEl
scope.acssSettingsCm.refresh(); scope.acssSettingsCm.refresh();
scope.acssSettingsCm.focus(); scope.acssSettingsCm.focus();
}, 500); }, 500);
trackEvent('ui', 'cssSettingsBtnClick');
}; };
function init() { function init() {