Removing unneccessary extra code related to partial rendering from loadtaglist.js, closing #40

This commit is contained in:
Jason Williams 2020-10-28 18:24:36 -06:00
commit 5193f574ed

View File

@ -1,8 +1,4 @@
$(() => { $(() => {
var obj = {};
if (typeof tagPartial !== 'string') obj = { '@tags': '#taglist' }
else obj[tagPartial] = '#taglist'
$.request('TagList::onAjaxDataRequested', { $.request('TagList::onAjaxDataRequested', {
complete: (data) => { $(window).trigger('tagsLoaded', data) } complete: (data) => { $(window).trigger('tagsLoaded', data) }
}) })