From 57cd071f98fddf1bbd23a0ea1b42005698fc4a81 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Mon, 25 Oct 2021 12:10:20 +0300 Subject: change_resource_owner.html: Replace "var" with "let" "let" is lexically scoped. --- wqflask/wqflask/templates/admin/change_resource_owner.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/templates/admin/change_resource_owner.html b/wqflask/wqflask/templates/admin/change_resource_owner.html index b88d680d..951df207 100644 --- a/wqflask/wqflask/templates/admin/change_resource_owner.html +++ b/wqflask/wqflask/templates/admin/change_resource_owner.html @@ -67,9 +67,8 @@ }) populate_users = function(json_user_list){ - var user_list = JSON.parse(json_user_list) - - var the_html = "" + let user_list = JSON.parse(json_user_list) + let the_html = "" if (user_list.length > 0){ the_html += "
Index | Name | E-mail Address | Organization |
---|