From 4e9165b3f9330f14f7be0fd0c24ba27bf10fcb0c Mon Sep 17 00:00:00 2001 From: James Campos Date: Tue, 24 May 2011 21:21:20 -0700 Subject: [PATCH] s/||/or --- script.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.coffee b/script.coffee index 5fb8513cb..82bc749ca 100644 --- a/script.coffee +++ b/script.coffee @@ -1065,7 +1065,7 @@ threadHiding = num += $$('table', thread).length text = if num is 1 then "1 reply" else "#{num} replies" name = $('span.postername', thread).textContent - trip = $('span.postername + span.postertrip', thread)?.textContent || '' + trip = $('span.postername + span.postertrip', thread)?.textContent or '' a = $.el 'a', textContent: "[ + ] #{name}#{trip} (#{text})" @@ -1793,7 +1793,7 @@ main = g.REPLY = temp g.THREAD_ID = pathname[2] else - g.PAGENUM = parseInt(temp) || 0 + g.PAGENUM = parseInt(temp) or 0 if location.hostname is 'sys.4chan.org' qr.sys()