11 lines
274 B
JavaScript
11 lines
274 B
JavaScript
$(() => {
|
|
var obj = {};
|
|
if (typeof renderPartial !== 'string') obj = { '@feed': '#feedarea' }
|
|
else obj[renderPartial] = '#feedarea'
|
|
|
|
$.request('LazyLoadShortFeed::onUpdateRequested', {
|
|
update: obj,
|
|
complete: () => { $(window).trigger('feedLoaded') }
|
|
})
|
|
})
|