Kenneth Love avatar Kenneth Love committed c19ba2a

now navigates comments as well, providing a simple highlight

Comments (0)

Files changed (3)

forrst fire.safariextension/Info.plist

 	<key>CFBundleInfoDictionaryVersion</key>
 	<string>6.0</string>
 	<key>CFBundleShortVersionString</key>
-	<string>1.2.2</string>
+	<string>1.3</string>
 	<key>CFBundleVersion</key>
-	<string>1.2.2</string>
+	<string>1.3</string>
 	<key>Chrome</key>
 	<dict/>
 	<key>Content</key>

forrst fire.safariextension/fire.js

         reevaluate: true,
         circular: false
     });
+
     add_new_content();
+
+    $('.comment').jknav(highlight_comment, 'default');
 });
 
+function highlight_comment(item) {
+    var $item = $(item);
+    $('.comment').css({
+        background: 'transparent',
+        padding: 0
+    }).find('.body').css('width', 601);
+    $item.css({
+        background: 'url(http://forrst.com/assets/images/layout/posts/post_stripe.png?1288622614) repeat-y 0% 0%',
+        padding: 10
+    }).find('.body').css('width', 581);
+}
+
 function add_new_content() {
     $('div.activity:not(.jknav)').jknav().addClass('jknav');
     window.setTimeout(add_new_content, 1000);

Binary file modified.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.