Style for JS.

This commit is contained in:
Samuel Clay 2015-09-06 15:35:10 -07:00
parent cc50693b18
commit 87d2afbe67

View file

@ -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;
}