diff --git a/src/General/Header.coffee b/src/General/Header.coffee
index 206377653..5b3b95a9e 100755
--- a/src/General/Header.coffee
+++ b/src/General/Header.coffee
@@ -135,7 +135,7 @@ Header =
fourchannav = $.id 'boardNavDesktop'
Header.boardList = boardList = $.el 'span',
id: 'board-list'
- innerHTML: " - #{fourchannav.innerHTML}"
+ innerHTML: " - #{fourchannav.innerHTML}"
for a in $$ 'a', boardList
if Conf['JSON Navigation']
$.on a, 'click', Navigate.navigate
diff --git a/src/General/Index.coffee b/src/General/Index.coffee
index b604b22b3..25e024c31 100644
--- a/src/General/Index.coffee
+++ b/src/General/Index.coffee
@@ -15,9 +15,9 @@ Index =
modeEntry =
el: $.el 'span', textContent: 'Index mode'
subEntries: [
- { el: $.el 'label', innerHTML: ' Paged' }
- { el: $.el 'label', innerHTML: ' Infinite scrolling' }
- { el: $.el 'label', innerHTML: ' All threads' }
+ { el: $.el 'label', innerHTML: ' Paged' }
+ { el: $.el 'label', innerHTML: ' Infinite scrolling' }
+ { el: $.el 'label', innerHTML: ' All threads' }
]
for label in modeEntry.subEntries
input = label.el.firstChild
@@ -28,11 +28,11 @@ Index =
sortEntry =
el: $.el 'span', textContent: 'Sort by'
subEntries: [
- { el: $.el 'label', innerHTML: ' Bump order' }
- { el: $.el 'label', innerHTML: ' Last reply' }
- { el: $.el 'label', innerHTML: ' Creation date' }
- { el: $.el 'label', innerHTML: ' Reply count' }
- { el: $.el 'label', innerHTML: ' File count' }
+ { el: $.el 'label', innerHTML: ' Bump order' }
+ { el: $.el 'label', innerHTML: ' Last reply' }
+ { el: $.el 'label', innerHTML: ' Creation date' }
+ { el: $.el 'label', innerHTML: ' Reply count' }
+ { el: $.el 'label', innerHTML: ' File count' }
]
for label in sortEntry.subEntries
input = label.el.firstChild
diff --git a/src/General/Main.coffee b/src/General/Main.coffee
index b6e11514f..a5ce8e63a 100755
--- a/src/General/Main.coffee
+++ b/src/General/Main.coffee
@@ -187,7 +187,7 @@ Main =
return if previousversion is g.VERSION
if previousversion
el = $.el 'span',
- innerHTML: '<%= meta.name %> has been updated to version <%= version %>.'
+ innerHTML: '<%= meta.name %> has been updated to version <%= version %>.'
new Notice 'info', el, 15
else
Settings.open()
@@ -242,7 +242,7 @@ Main =
return
div = $.el 'div',
- innerHTML: "#{+errors.length} errors occurred. [show]"
+ innerHTML: "#{+errors.length} errors occurred. [show]"
$.on div.lastElementChild, 'click', ->
[@textContent, logs.hidden] = if @textContent is 'show'
['hide', false]
diff --git a/src/General/Settings.coffee b/src/General/Settings.coffee
index c091b15cc..853fda6f1 100755
--- a/src/General/Settings.coffee
+++ b/src/General/Settings.coffee
@@ -112,7 +112,7 @@ Settings =
return
div = $.el 'div',
- innerHTML: ': Clear manually-hidden threads and posts on all boards. Reload the page to apply.'
+ innerHTML: ': Clear manually-hidden threads and posts on all boards. Reload the page to apply.'
button = $ 'button', div
$.get {hiddenThreads: {}, hiddenPosts: {}}, ({hiddenThreads, hiddenPosts}) ->
hiddenNum = 0
@@ -446,7 +446,7 @@ Settings =
inputs = {}
for key, arr of Config.hotkeys
tr = $.el 'tr',
- innerHTML: '
| | '
+ innerHTML: ' | | '
tr.firstElementChild.textContent = arr[1]
input = $ 'input', tr
input.name = key
diff --git a/src/General/lib/notice.class b/src/General/lib/notice.class
index ea5f6f360..dad665e3e 100644
--- a/src/General/lib/notice.class
+++ b/src/General/lib/notice.class
@@ -1,7 +1,7 @@
class Notice
constructor: (type, content, @timeout) ->
@el = $.el 'div',
- innerHTML: ''
+ innerHTML: ''
@el.style.opacity = 0
@setType type
$.on @el.firstElementChild, 'click', @close
diff --git a/src/Images/ImageLoader.coffee b/src/Images/ImageLoader.coffee
index dd9d8af99..d06b747cb 100755
--- a/src/Images/ImageLoader.coffee
+++ b/src/Images/ImageLoader.coffee
@@ -14,7 +14,7 @@ ImageLoader =
return unless Conf['Image Prefetching'] and g.VIEW is 'thread'
prefetch = $.el 'label',
- innerHTML: ' Prefetch Images'
+ innerHTML: ' Prefetch Images'
@el = prefetch.firstElementChild
$.on @el, 'change', @toggle
@@ -46,4 +46,4 @@ ImageLoader =
enabled = Conf['prefetch'] = @checked
if enabled
ImageLoader.thread.posts.forEach ImageLoader.node.call
- return
\ No newline at end of file
+ return
diff --git a/src/Miscellaneous/AnnouncementHiding.coffee b/src/Miscellaneous/AnnouncementHiding.coffee
index 44f676da6..b1ac9454c 100755
--- a/src/Miscellaneous/AnnouncementHiding.coffee
+++ b/src/Miscellaneous/AnnouncementHiding.coffee
@@ -23,7 +23,7 @@ PSAHiding =
$.on entry.el, 'click', PSAHiding.toggle
PSAHiding.btn = btn = $.el 'span',
- innerHTML: '[Dismiss]'
+ innerHTML: '[Dismiss]'
title: 'Mark announcement as read and hide.'
className: 'hide-announcement'
href: 'javascript:;'
diff --git a/src/Monitoring/ThreadStats.coffee b/src/Monitoring/ThreadStats.coffee
index cb10382e9..a4a0866ed 100755
--- a/src/Monitoring/ThreadStats.coffee
+++ b/src/Monitoring/ThreadStats.coffee
@@ -4,14 +4,14 @@ ThreadStats =
if Conf['Updater and Stats in Header']
@dialog = sc = $.el 'span',
- innerHTML: "0 / 0#{if Conf['Page Count in Stats'] then ' / 0' else ''}"
+ innerHTML: "0 / 0#{if Conf['Page Count in Stats'] then ' / 0' else ''}"
id: 'thread-stats'
title: 'Post Count / File Count' + (if Conf["Page Count in Stats"] then " / Page Count" else "")
$.ready ->
Header.addShortcut sc
else
@dialog = sc = UI.dialog 'thread-stats', 'bottom: 0px; right: 0px;',
- innerHTML: "0 / 0#{if Conf['Page Count in Stats'] then ' / 0' else ''}
"
+ innerHTML: "0 / 0#{if Conf['Page Count in Stats'] then ' / 0' else ''}
"
$.ready =>
$.add d.body, sc
diff --git a/src/Monitoring/ThreadUpdater.coffee b/src/Monitoring/ThreadUpdater.coffee
index c9a6f32b5..7744c3015 100755
--- a/src/Monitoring/ThreadUpdater.coffee
+++ b/src/Monitoring/ThreadUpdater.coffee
@@ -4,13 +4,13 @@ ThreadUpdater =
if Conf['Updater and Stats in Header']
@dialog = sc = $.el 'span',
- innerHTML: ''
+ innerHTML: ''
id: 'updater'
$.ready ->
Header.addShortcut sc
else
@dialog = sc = UI.dialog 'updater', 'bottom: 0px; left: 0px;',
- innerHTML: ''
+ innerHTML: ''
$.addClass doc, 'float'
$.ready =>
$.addClass doc, 'float'
@@ -39,7 +39,7 @@ ThreadUpdater =
subEntries.push el: el
@settings = $.el 'span',
- innerHTML: 'Interval'
+ innerHTML: 'Interval'
$.on @settings, 'click', @intervalShortcut
diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee
index b4c7b97ca..e636cec1c 100644
--- a/src/Posting/QR.coffee
+++ b/src/Posting/QR.coffee
@@ -45,7 +45,7 @@ QR =
return unless QR.postingIsEnabled
link = $.el 'h1',
- innerHTML: "#{if g.VIEW is 'thread' then 'Reply to Thread' else 'Start a Thread'}"
+ innerHTML: "#{if g.VIEW is 'thread' then 'Reply to Thread' else 'Start a Thread'}"
className: "qr-link-container"
QR.link = link.firstElementChild
@@ -717,7 +717,7 @@ QR =
QR.error $.el 'span',
innerHTML: '''
4chan X encountered an error while posting.
- [Banned?] [More info]
+ [Banned?] [More info]
'''
extra =
form: $.formData formData
@@ -751,7 +751,7 @@ QR =
if ban = $ '.banType', resDoc # banned/warning
err = $.el 'span',
if ban.textContent.toLowerCase() is 'banned'
- innerHTML: "You are banned on #{$('.board', resDoc).innerHTML}! ;_;
Click here to see the reason."
+ innerHTML: "You are banned on #{$('.board', resDoc).innerHTML}! ;_;
Click here to see the reason."
else
innerHTML: "You were issued a warning on #{$('.board', resDoc).innerHTML} as #{$('.nameBlock', resDoc).innerHTML}.
Reason: #{$('.reason', resDoc).innerHTML}"
else if err = resDoc.getElementById 'errmsg' # error!
diff --git a/src/Posting/QR.post.coffee b/src/Posting/QR.post.coffee
index 2d7380b18..737674981 100644
--- a/src/Posting/QR.post.coffee
+++ b/src/Posting/QR.post.coffee
@@ -4,7 +4,7 @@ QR.post = class
className: 'qr-preview'
draggable: true
href: 'javascript:;'
- innerHTML: ''
+ innerHTML: ''
@nodes =
el: el
diff --git a/src/Quotelinks/QuoteThreading.coffee b/src/Quotelinks/QuoteThreading.coffee
index 2ac2d695f..44c3fd334 100755
--- a/src/Quotelinks/QuoteThreading.coffee
+++ b/src/Quotelinks/QuoteThreading.coffee
@@ -8,7 +8,7 @@ QuoteThreading =
@enabled = true
@controls = $.el 'span',
- innerHTML: ''
+ innerHTML: ''
input = $ 'input', @controls
$.on input, 'change', @toggle