Remove javascript from guest pages

This commit is contained in:
JonnyWong16 2016-05-12 00:43:48 -07:00
commit 36a3cae9c2
6 changed files with 21 additions and 4 deletions

View file

@ -433,6 +433,7 @@ DOCUMENTATION :: END
clearSearchButton('sync_table-UID-${data["user_id"]}', sync_table);
});
% if _session['user_group'] == 'admin':
// Load edit user modal
$("#toggle-edit-user-modal").click(function() {
$("#edit-user-tooltip").tooltip('hide');
@ -483,6 +484,7 @@ DOCUMENTATION :: END
});
}
});
% endif
function recentlyWatched() {
// Populate recently watched