Sunday, 8 September 2013

API chrome.notifications.onButtonClicked Notification als Parameter

API chrome.notifications.onButtonClicked Notification als Parameter

If I open a Notification multiple times without refreshing my extension,
it executes the Button Listener Code as often as it opens the
Notification..
number of notifications opened = x = number of onButtonClicked.addListener
executed Code.
I found out that I opened a new onButtonClicked.addListener multiple
times.. thats the problem.
Marvin

No comments:

Post a Comment