Skip to content

Commit 609b2eb

Browse files
author
Benjamin Pick
committed
add js events emitting - to test
1 parent 7abb391 commit 609b2eb

File tree

4 files changed

+23
-13
lines changed

4 files changed

+23
-13
lines changed

js/body_classes.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { triggerNativeEvent } from './lib/events';
12
import { domReady } from './lib/html';
23
import { get_info } from './lookup/get_info';
34

@@ -55,4 +56,6 @@ export function add_classes_to_body(record) {
5556
}
5657
}
5758
}
59+
60+
triggerNativeEvent(body, 'geoip-detect-body-classes-done');
5861
}

0 commit comments

Comments
 (0)