##// END OF EJS Templates
Fix the "test for nothing was streamed" so it doesn't add empty elements -- but only when there wasn't already something there.
Fix the "test for nothing was streamed" so it doesn't add empty elements -- but only when there wasn't already something there.

File last commit:

r6192:a53b1a9f
r7340:4c1fd039
Show More
loginmain.js
22 lines | 780 B | application/javascript | JavascriptLexer
Brian E. Granger
Simplifying logic on login page.
r5109 //----------------------------------------------------------------------------
// Copyright (C) 2008-2011 The IPython Development Team
//
// Distributed under the terms of the BSD License. The full license is in
// the file COPYING, distributed as part of this software.
//----------------------------------------------------------------------------
//============================================================================
// On document ready
//============================================================================
$(document).ready(function () {
Brian Granger
Refactoring templates and top level js/css organization.
r6192 IPython.page = new IPython.Page();
$('input#login_submit').button();
Brian E. Granger
Simplifying logic on login page.
r5109 $('div#main_app').addClass('border-box-sizing ui-widget');
Brian Granger
Refactoring templates and top level js/css organization.
r6192 IPython.page.show();
$('input#password_input').focus();
Brian E. Granger
Simplifying logic on login page.
r5109
});