Skip to content

Commit

Permalink
curtab: Firefox 4.0 doesn't need the hack
Browse files Browse the repository at this point in the history
  • Loading branch information
leahneukirchen committed Mar 25, 2011
1 parent e58e854 commit a3df421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curtab
Expand Up @@ -6,7 +6,7 @@ require 'json'

session = JSON.load(File.read(Dir[
File.expand_path("~/.mozilla/firefox/*.default/sessionstore.js"
)].first)[1...-1])
)].first))

window = session["windows"][session["selectedWindow"]-1]
tab = window["tabs"][window["selected"]-1]
Expand Down

0 comments on commit a3df421

Please sign in to comment.