mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 16:58:21 -05:00
showWorkingDeferred: handle null Deferred object.
This commit is contained in:
@@ -32,6 +32,10 @@ r.ui.init = function() {
|
||||
}
|
||||
|
||||
r.ui.showWorkingDeferred = function(el, deferred) {
|
||||
if (!deferred) {
|
||||
return
|
||||
}
|
||||
|
||||
var flickerDelay = 200,
|
||||
key = '_workingCount',
|
||||
$el = $(el)
|
||||
|
||||
Reference in New Issue
Block a user