@ -360,7 +360,7 @@ $(function(){
var boardconfig = storage ( ) [ board ] || { } ;
var boardconfig = storage ( ) [ board ] || { } ;
$ ( 'hr:first' ) . before ( '<div id="watch-thread" style="text-align:right"><a class="unimportant" href="javascript:void(0)">-</a></div>' ) ;
$ ( 'hr' ) . first ( ) . before ( '<div id="watch-thread" style="text-align:right"><a class="unimportant" href="javascript:void(0)">-</a></div>' ) ;
$ ( '#watch-thread a' ) . html ( is_threadwatched ( boardconfig , thread ) ? _ ( "Stop watching this thread" ) : _ ( "Watch this thread" ) ) . click ( function ( ) {
$ ( '#watch-thread a' ) . html ( is_threadwatched ( boardconfig , thread ) ? _ ( "Stop watching this thread" ) : _ ( "Watch this thread" ) ) . click ( function ( ) {
$ ( this ) . html ( toggle_threadwatched ( board , thread ) ? _ ( "Stop watching this thread" ) : _ ( "Watch this thread" ) ) ;
$ ( this ) . html ( toggle_threadwatched ( board , thread ) ? _ ( "Stop watching this thread" ) : _ ( "Watch this thread" ) ) ;
update_pinned ( ) ;
update_pinned ( ) ;
@ -371,14 +371,14 @@ $(function(){
var boardconfig = storage ( ) [ board ] || { } ;
var boardconfig = storage ( ) [ board ] || { } ;
$ ( 'hr:first' ) . before ( '<div id="watch-pin" style="text-align:right"><a class="unimportant" href="javascript:void(0)">-</a></div>' ) ;
$ ( 'hr' ) . first ( ) . before ( '<div id="watch-pin" style="text-align:right"><a class="unimportant" href="javascript:void(0)">-</a></div>' ) ;
$ ( '#watch-pin a' ) . html ( is_pinned ( boardconfig ) ? _ ( "Unpin this board" ) : _ ( "Pin this board" ) ) . click ( function ( ) {
$ ( '#watch-pin a' ) . html ( is_pinned ( boardconfig ) ? _ ( "Unpin this board" ) : _ ( "Pin this board" ) ) . click ( function ( ) {
$ ( this ) . html ( toggle_pinned ( board ) ? _ ( "Unpin this board" ) : _ ( "Pin this board" ) ) ;
$ ( this ) . html ( toggle_pinned ( board ) ? _ ( "Unpin this board" ) : _ ( "Pin this board" ) ) ;
$ ( '#watch-board a' ) . html ( is_boardwatched ( boardconfig ) ? _ ( "Stop watching this board" ) : _ ( "Watch this board" ) ) ;
$ ( '#watch-board a' ) . html ( is_boardwatched ( boardconfig ) ? _ ( "Stop watching this board" ) : _ ( "Watch this board" ) ) ;
update_pinned ( ) ;
update_pinned ( ) ;
} ) ;
} ) ;
$ ( 'hr:first' ) . before ( '<div id="watch-board" style="text-align:right"><a class="unimportant" href="javascript:void(0)">-</a></div>' ) ;
$ ( 'hr' ) . first ( ) . before ( '<div id="watch-board" style="text-align:right"><a class="unimportant" href="javascript:void(0)">-</a></div>' ) ;
$ ( '#watch-board a' ) . html ( is_boardwatched ( boardconfig ) ? _ ( "Stop watching this board" ) : _ ( "Watch this board" ) ) . click ( function ( ) {
$ ( '#watch-board a' ) . html ( is_boardwatched ( boardconfig ) ? _ ( "Stop watching this board" ) : _ ( "Watch this board" ) ) . click ( function ( ) {
$ ( this ) . html ( toggle_boardwatched ( board ) ? _ ( "Stop watching this board" ) : _ ( "Watch this board" ) ) ;
$ ( this ) . html ( toggle_boardwatched ( board ) ? _ ( "Stop watching this board" ) : _ ( "Watch this board" ) ) ;
$ ( '#watch-pin a' ) . html ( is_pinned ( boardconfig ) ? _ ( "Unpin this board" ) : _ ( "Pin this board" ) ) ;
$ ( '#watch-pin a' ) . html ( is_pinned ( boardconfig ) ? _ ( "Unpin this board" ) : _ ( "Pin this board" ) ) ;