aboutsummaryrefslogtreecommitdiff
path: root/design/templates/accounts/change-settings.html
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-01-13 11:42:01 -0600
committerluxagraf <sng@luxagraf.net>2019-01-13 11:42:01 -0600
commit5b9343d77d8321e44d1ffc60769c651771dc38dd (patch)
tree8bbce1b415fbf2fd4c4ee1a7913ca41d362216ec /design/templates/accounts/change-settings.html
parent261f9df4911f861a71e11eb3f0bfbe1a5a5d12b9 (diff)
Refactored Javascript, started on forums
Diffstat (limited to 'design/templates/accounts/change-settings.html')
-rw-r--r--design/templates/accounts/change-settings.html7
1 files changed, 0 insertions, 7 deletions
diff --git a/design/templates/accounts/change-settings.html b/design/templates/accounts/change-settings.html
index a6e6ea6..e14a1e3 100644
--- a/design/templates/accounts/change-settings.html
+++ b/design/templates/accounts/change-settings.html
@@ -22,12 +22,5 @@
</form>
</main>
<script>
-if (typeof(document.getElementById('id_photo')) != 'undefined' && document.getElementById('id_photo') != null) {
- var input = document.getElementById('id_photo');
- input.fname = document.getElementById('filename');
- input.addEventListener('change', function(e){
- e.target.fname.innerHTML = e.target.value.split("\\")[2];
- });
-}
</script>
{% endblock %}