aboutsummaryrefslogtreecommitdiff
path: root/design/templates/accounts
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/accounts')
-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 %}