Reputation: 387
I have code which works under Windows 7 Chrome correctly, but not in Ubuntu Chrome.
var opt = {
type: "list",
title: "Primary Title",
message: "Primary message to display",
iconUrl: "../icon.png",
items: [{ title: "Item1", message: "This is item 1."},
{ title: "Item2", message: "This is item 2."},
{ title: "Item3", message: "This is item 3."}]
}
chrome.notifications.create(new Date().getTime().toString(), opt, function() {});
In Ubuntu it looks like basic notification. What's wrong with it? Maybe Ubuntu's Chrome not support such notifications?
Upvotes: 0
Views: 478