aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-25 12:10:20 +0300
committerBonfaceKilz2021-10-25 14:00:14 +0300
commit57cd071f98fddf1bbd23a0ea1b42005698fc4a81 (patch)
treec49812351d8ed0165b153546e75b24d15b0d0c7b /wqflask
parent6296b5ff43b0a6209443679350bf15b399406699 (diff)
downloadgenenetwork2-57cd071f98fddf1bbd23a0ea1b42005698fc4a81.tar.gz
change_resource_owner.html: Replace "var" with "let"
"let" is lexically scoped.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/admin/change_resource_owner.html5
1 files changed, 2 insertions, 3 deletions
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 += "<table id='users_table' style='padding-top: 10px; width: 100%;' class='table-hover table-striped cell-border'>";
the_html += "<thead><tr><th></th><th>Index</th><th>Name</th><th>E-mail Address</th><th>Organization</th></tr></thead>";