mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
Updates
This commit is contained in:
parent
59bae7f542
commit
c3aa754cf6
1 changed files with 5 additions and 2 deletions
|
@ -41,8 +41,11 @@ function addTemplateFromArray(itemsArray) {
|
|||
priority = 6;
|
||||
}
|
||||
var selector = '#topMenuUserNotifications ul .list-group .priority' + priority;
|
||||
console.log('addTemplateFromArray prepend', selector);
|
||||
$(selector).prepend(template);
|
||||
try {
|
||||
$(selector).prepend(template);
|
||||
} catch (e) {
|
||||
console.log('addTemplateFromArray prepend error', selector, e);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue