Fix favicons in the Rice section outside threads.

Fix Opera ignoring the max-height/width of the settins dialog.
I like how opera doesn't reflow when you resize the browser. Chropera when?
This commit is contained in:
Nicolas Stepien 2013-02-20 20:39:49 +01:00
parent e103ae6535
commit 3bd71e9bfc
4 changed files with 13 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -194,9 +194,9 @@ a[href="javascript:;"] {
justify-content: center; justify-content: center;
position: fixed; position: fixed;
top: 0; top: 0;
right: 0;
bottom: 0;
left: 0; left: 0;
height: 100%;
width: 100%;
} }
#settings { #settings {
-moz-box-sizing: border-box; -moz-box-sizing: border-box;

View File

@ -340,7 +340,7 @@ Settings =
@nextElementSibling.innerHTML = funk FileInfo, data @nextElementSibling.innerHTML = funk FileInfo, data
favicon: -> favicon: ->
Favicon.switch() Favicon.switch()
Unread.update() Unread.update() if g.VIEW is 'thread' and Conf['Unread Tab Icon']
@nextElementSibling.innerHTML = "<img src=#{Favicon.unreadSFW}> <img src=#{Favicon.unreadNSFW}> <img src=#{Favicon.unreadDead}>" @nextElementSibling.innerHTML = "<img src=#{Favicon.unreadSFW}> <img src=#{Favicon.unreadNSFW}> <img src=#{Favicon.unreadDead}>"
keybinds: (section) -> keybinds: (section) ->

View File

@ -301,7 +301,8 @@ Main =
Main.handleErrors Main.handleErrors
message: "\"#{name}\" initialization crashed." message: "\"#{name}\" initialization crashed."
error: err error: err
console.timeEnd "#{name} initialization" finally
console.timeEnd "#{name} initialization"
console.time 'All initializations' console.time 'All initializations'
initFeature 'Polyfill', Polyfill initFeature 'Polyfill', Polyfill