mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
main.js simplify notify_id checks
This commit is contained in:
@@ -87,4 +87,4 @@ class ZotURL {
|
||||
return ids_to_array($r,'hubloc_url');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,7 +178,7 @@ $(document).ready(function() {
|
||||
path = 'hq';
|
||||
}
|
||||
|
||||
if(notify_id != null) {
|
||||
if(notify_id) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: 'notify',
|
||||
@@ -999,7 +999,7 @@ function liveUpdate(notify_id) {
|
||||
// else data was valid - reset the recursion counter
|
||||
liveRecurse = 0;
|
||||
|
||||
if(typeof notify_id !== 'undefined' && notify_id !== 'undefined') {
|
||||
if(notify_id) {
|
||||
$.post(
|
||||
"notify",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user