mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Fire jQuery event when expanding expandos.
This commit is contained in:
committed by
Neil Williams
parent
e48210d4b8
commit
5e8ce20fa4
@@ -777,11 +777,13 @@ function expando_child(elem) {
|
||||
function(r) {
|
||||
child_cache[key] = r;
|
||||
expando.html($.unsafe(r));
|
||||
$(document).trigger('expando_thing', thing)
|
||||
},
|
||||
false, "html");
|
||||
}
|
||||
else {
|
||||
expando.html($.unsafe(child_cache[key]));
|
||||
$(document).trigger('expando_thing', thing)
|
||||
}
|
||||
expando.show();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user