Permalink
Browse files

Fix history and own post highlighting

  • Loading branch information...
1 parent 2c2e234 commit 7636f432c0b87139d45d2c081b824236df84f9f6 @brymck committed Apr 11, 2012
Showing with 6 additions and 5 deletions.
  1. +5 −4 src/css/content.css.sass
  2. +1 −1 src/js/content/history.js.coffee
@@ -88,6 +88,11 @@ div.com-block
&.unread
background-color: lighten($reason-orange, 49%)
+ /* Highlight myself */
+ &.ableMe, &.unread.ableMe
+ background-color: #ffc
+
+
div#filter_dialog
@include centered(21em, 7em)
@include shadowed(10px, 0.3)
@@ -104,10 +109,6 @@ div.highlight
div.collapsed
display: none
-/* Highlight myself */
-div.ableMe
- background-color: #ffc
-
iframe.youtube-player
display: block
@@ -5,7 +5,7 @@ class History
Controls.addHistory response.history if Settings.showHistory
@serialize: ->
- url = window.location.pathname.split("/").pop()
+ url = window.location.pathname
return {} unless Post.comments?
result = []
for comment in Post.comments

0 comments on commit 7636f43

Please sign in to comment.