                                                (when (= (.-which %) 13)
                                                  (when (.-ctrlKey %)
                                                    (send-bookmark app owner))))))
-   [:#search-input] (do-> (set-attr :value (:search-text state))
-                          (listen :on-change #(handle-text-change % owner :search-text)))
+   [:#search-input]  (do-> (set-attr :value (:search-text state))
+                           (listen :on-change #(handle-text-change % owner :search-text)))
    [:#url-list] (content (let [bms (if (blank? (:search-text state))
                                      (:bookmarks app)
                                      (remove

(def ssl? (= (.getScheme uri) "https"))

(def app-state (atom {:bookmarks []
                      :user {:email nil
                             :token-status nil}
                      :ws []}))
(def socket-url (str (if ssl? "wss://" "ws://")
                     (.getDomain uri)
                     (when (= (.getDomain uri) "localhost")

 bookmark-view
 app-state
 {:target (. js/document (getElementById "center-container"))})
