Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
>>1の底辺が表示領域外にはみ出していた時、UI.ThreadContent::getReadが0を返すバグを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
awef committed Nov 11, 2012
1 parent 02ef47f commit 016eb2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ui/ThreadContent.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ class UI.ThreadContent
if res.offsetTop > containerBottom
read = key - 1
break

# >>1の底辺が表示領域外にはみ出していた場合対策
if read is 0
read = 1

read

###*
Expand Down

0 comments on commit 016eb2a

Please sign in to comment.