From d8256d8f3fe60767578018f3a5f4893fad8e8130 Mon Sep 17 00:00:00 2001 From: Sheng Date: Sat, 18 May 2019 21:40:57 +0800 Subject: [PATCH] Move down a line --- webssh/static/js/main.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webssh/static/js/main.js b/webssh/static/js/main.js index f9a7035..3e82548 100644 --- a/webssh/static/js/main.js +++ b/webssh/static/js/main.js @@ -81,8 +81,6 @@ jQuery(function($){ } } - restore_items(fields); - function initialize_map(keys, map) { var i; @@ -90,7 +88,6 @@ jQuery(function($){ for (i = 0; i < keys.length; i++) { map[keys[i]] = ''; } - } @@ -677,6 +674,8 @@ jQuery(function($){ } + restore_items(fields); + initialize_map(fields.concat(['password']), url_form_data); initialize_map(['bgcolor', 'title'], url_opts_data);