mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Style for JS.
This commit is contained in:
parent
cc50693b18
commit
87d2afbe67
1 changed files with 2 additions and 3 deletions
|
@ -123,12 +123,11 @@ NEWSBLUR.Models.Story = Backbone.Model.extend({
|
|||
open_story_in_new_tab: function(background) {
|
||||
this.mark_read({skip_delay: true});
|
||||
|
||||
// A «Safari» browser on Linux is an impossibility, and thus we're actually
|
||||
// Safari browser on Linux is an impossibility, and thus we're actually
|
||||
// on a WebKit-based browser (WebKitGTK or QTWebKit). These can't handle
|
||||
// background tabs. Work around it by disabling backgrounding if we
|
||||
// think we're on Safari and we're also on X11 or Linux
|
||||
if($.browser.safari && /(\(X11|Linux)/.test(navigator.userAgent))
|
||||
{
|
||||
if ($.browser.safari && /(\(X11|Linux)/.test(navigator.userAgent)) {
|
||||
background = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue