From bbe20d6351b9e0f9386c3f2e56fd28efadc991d4 Mon Sep 17 00:00:00 2001 From: Daniel Triendl Date: Tue, 30 Nov 2021 14:20:13 +0100 Subject: [PATCH] Fix call notification --- src/call-notification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/call-notification.ts b/src/call-notification.ts index 69ba96c..aedfdcd 100644 --- a/src/call-notification.ts +++ b/src/call-notification.ts @@ -3,7 +3,7 @@ import { axios, extractNumber } from './utils' export class CallNotification { public async showCallNotification (element: HTMLElement) { - var number = element.dataset.id + var number = element.querySelector('.callNumber').textContent console.log('TAPI call notification', number) number = extractNumber(number)