diff options
| author | julian laplace <julescarbon@gmail.com> | 2022-11-02 15:18:52 +0100 |
|---|---|---|
| committer | julian laplace <julescarbon@gmail.com> | 2022-11-02 15:18:52 +0100 |
| commit | d789906d2f905cdcc92e40d9154db91195541b14 (patch) | |
| tree | 8a40539bc6a69f6c4d647f8c31d81745fe8601db /public/assets/js/lib | |
| parent | bfb3c36659821fc1dfa3ae1617207b4e5099954a (diff) | |
form stuff
Diffstat (limited to 'public/assets/js/lib')
| -rw-r--r-- | public/assets/js/lib/views/details/commentform.js | 2 | ||||
| -rw-r--r-- | public/assets/js/lib/views/stream/hootstream.js | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/details/commentform.js b/public/assets/js/lib/views/details/commentform.js index 66add7d..abda1e4 100644 --- a/public/assets/js/lib/views/details/commentform.js +++ b/public/assets/js/lib/views/details/commentform.js @@ -33,7 +33,7 @@ var CommentForm = FormView.extend({ }, keydown: function (e) { - console.log(e.keyCode); + // console.log(e.keyCode); if (e.ctrlKey || e.metaKey || e.altKey) { if (e.keyCode === 83 || e.keyCode === 13) { // "s" or "enter" key diff --git a/public/assets/js/lib/views/stream/hootstream.js b/public/assets/js/lib/views/stream/hootstream.js index ebef14a..cde591c 100644 --- a/public/assets/js/lib/views/stream/hootstream.js +++ b/public/assets/js/lib/views/stream/hootstream.js @@ -320,6 +320,9 @@ var HootStream = View.extend({ }.bind(this) ); this.$hootevents.empty(); + this.$el.toggleClass("streamThread", !!data.query.thread); + this.$el.toggleClass("streamKeyword", !!data.query.username); + this.$el.toggleClass("streamUser", !!data.query.keyword); this.$hootevents.append($els); audio.init(); }, |
