about summary refs log tree commit diff
path: root/app/assets/javascripts/components/reducers/compose.jsx
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-24 03:50:30 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-03-24 03:55:45 +0100
commitd7c6c6dbe109544911f3fca5c547b55d1e79ccc2 (patch)
tree346b25e3801e5c9d873404e68f88a44cb0ec1636 /app/assets/javascripts/components/reducers/compose.jsx
parent3e2d6ea4083c878e51eb291f2b04d004d3d0ff60 (diff)
Fancier drag & drop indicator, emoji icon for emoji, upload progress (fix #295)
Diffstat (limited to 'app/assets/javascripts/components/reducers/compose.jsx')
-rw-r--r--app/assets/javascripts/components/reducers/compose.jsx2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/reducers/compose.jsx b/app/assets/javascripts/components/reducers/compose.jsx
index b0001351f..a4bdd20cd 100644
--- a/app/assets/javascripts/components/reducers/compose.jsx
+++ b/app/assets/javascripts/components/reducers/compose.jsx
@@ -35,7 +35,6 @@ const initialState = Immutable.Map({
   unlisted: false,
   private: false,
   text: '',
-  fileDropDate: null,
   focusDate: null,
   preselectDate: null,
   in_reply_to: null,
@@ -163,7 +162,6 @@ export default function compose(state = initialState, action) {
   case COMPOSE_UPLOAD_REQUEST:
     return state.withMutations(map => {
       map.set('is_uploading', true);
-      map.set('fileDropDate', new Date());
     });
   case COMPOSE_UPLOAD_SUCCESS:
     return appendMedia(state, Immutable.fromJS(action.media));