mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
basic lightbox support
This commit is contained in:
@ -107,7 +107,7 @@ footer:after{ content: '#{error}' }"
|
||||
|
||||
@lock.synchronize do
|
||||
style = self.where(key: key).first
|
||||
style.ensure_stylesheet_on_disk!
|
||||
style.ensure_stylesheet_on_disk! if style
|
||||
@cache[key] = style
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user