Fix JSHint errors in heartbeat.js.
props dziudek. fixes #25986. Built from https://develop.svn.wordpress.org/trunk@26197 git-svn-id: http://core.svn.wordpress.org/trunk@26105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7e1bf9f745
commit
14c473535b
|
@ -224,7 +224,7 @@
|
||||||
trigger = true;
|
trigger = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// Pass through other error statuses
|
/* falls through */
|
||||||
case 'parsererror':
|
case 'parsererror':
|
||||||
case 'empty':
|
case 'empty':
|
||||||
case 'unknown':
|
case 'unknown':
|
||||||
|
@ -594,7 +594,6 @@
|
||||||
// Allow long polling, (experimental)
|
// Allow long polling, (experimental)
|
||||||
settings.mainInterval = 0;
|
settings.mainInterval = 0;
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
interval = settings.originalInterval;
|
interval = settings.originalInterval;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue