QR link fixes

This commit is contained in:
Jordan Bates 2013-05-20 01:05:49 -07:00
parent 75735aedf0
commit f4059e723d
6 changed files with 16 additions and 20 deletions

View File

@ -1,5 +1,5 @@
/* /*
* 4chan X - Version 1.2.7 - 2013-05-19 * 4chan X - Version 1.2.7 - 2013-05-20
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/seaweedchan/4chan-x/blob/master/LICENSE * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -692,7 +692,7 @@ a.hide-announcement {
border-width: 1px; border-width: 1px;
border-style: solid; border-style: solid;
} }
.qr-link { .qr-link-container {
text-align: center; text-align: center;
} }
.persona { .persona {

View File

@ -37,9 +37,8 @@ QR =
return unless QR.postingIsEnabled return unless QR.postingIsEnabled
link = $.el 'h1', link = $.el 'h1',
innerHTML: "<a href=javascript:;>#{title = if g.VIEW is 'thread' then 'Reply to Thread' else 'Start a Thread'}</a>" innerHTML: "<a href=javascript:; title=#{title} class='qr-link'>#{title = if g.VIEW is 'thread' then 'Reply to Thread' else 'Start a Thread'}</a>"
title: title className: "qr-link-container"
className: "qr-link"
$.on link.firstChild, 'click', -> $.on link.firstChild, 'click', ->
$.event 'CloseMenu' $.event 'CloseMenu'
QR.open() QR.open()