Skip to content

Commit c6a8e9d

Browse files
ita004silverwind
andauthored
Update web_src/js/components/RepoActionView.vue
Co-authored-by: silverwind <me@silverwind.io> Signed-off-by: Shafi Ahmed <98274448+ita004@users.noreply.github.com>
1 parent 62ae113 commit c6a8e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/components/RepoActionView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export default defineComponent({
193193
194194
// Set up observer on the steps container (safer and more efficient than document.body)
195195
const stepsContainer = (this.$refs.steps as HTMLElement);
196-
if (stepsContainer && typeof MutationObserver !== 'undefined') {
196+
if (stepsContainer && 'MutationObserver' in window) {
197197
this.mutationObserver = new MutationObserver((mutations) => {
198198
for (const m of mutations) {
199199
// Auto-scroll new log lines as they appear

0 commit comments

Comments
 (0)