mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Restructured presenters code
This commit is contained in:
@ -7,7 +7,11 @@ App.Presenters.UserListPresenter = function(jQuery, topNavigationPresenter, appS
|
||||
|
||||
var $el = jQuery('#content');
|
||||
|
||||
render();
|
||||
init();
|
||||
|
||||
function init() {
|
||||
render();
|
||||
}
|
||||
|
||||
function render() {
|
||||
$el.html('Logged in: ' + appState.get('loggedIn'));
|
||||
|
Reference in New Issue
Block a user