From 013cd0962cdf230ea08f32e5c8027b8da2444e75 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 22 Nov 2016 11:59:41 -0800 Subject: Let users enter their phone number for notifications --- public/js/profile.coffee | 1 + public/js/profile.js | 6 +----- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'public') diff --git a/public/js/profile.coffee b/public/js/profile.coffee index fdbde8ee..a894f275 100644 --- a/public/js/profile.coffee +++ b/public/js/profile.coffee @@ -8,6 +8,7 @@ $(-> user = $('#username').val() $.getJSON("/#{user}.json", (data) -> $('#email').val(data.email) + $('#phone').val(data.phone) $('#profile').fadeIn() ) diff --git a/public/js/profile.js b/public/js/profile.js index a49c7583..db81832b 100644 --- a/public/js/profile.js +++ b/public/js/profile.js @@ -1,4 +1,3 @@ -;(function(e,t,n){function i(n,s){if(!t[n]){if(!e[n]){var o=typeof require=="function"&&require;if(!s&&o)return o(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var u=t[n]={exports:{}};e[n][0](function(t){var r=e[n][1][t];return i(r?r:t)},u,u.exports)}return t[n].exports}var r=typeof require=="function"&&require;for(var s=0;s