use single quotes when possible
This commit is contained in:
parent
c90c30f243
commit
75f639172b
@ -32,7 +32,7 @@ Gallery =
|
||||
|
||||
nodes.el = dialog = $.el 'div',
|
||||
id: 'a-gallery'
|
||||
innerHTML: """
|
||||
innerHTML: '''
|
||||
<div class=gal-viewport>
|
||||
<span class=gal-buttons>
|
||||
<a class="menu-button" href="javascript:;"><i></i></a>
|
||||
@ -47,7 +47,7 @@ Gallery =
|
||||
<div class=gal-next></div>
|
||||
</div>
|
||||
<div class=gal-thumbnails></div>
|
||||
"""
|
||||
'''
|
||||
|
||||
nodes[key] = $ value, dialog for key, value of {
|
||||
frame: '.gal-image'
|
||||
|
||||
@ -4,7 +4,7 @@ ThreadUpdater =
|
||||
|
||||
if Conf['Updater and Stats in Header']
|
||||
@dialog = sc = $.el 'span',
|
||||
innerHTML: "<span id=update-status></span><span id=update-timer title='Update now'></span>"
|
||||
innerHTML: '<span id=update-status></span><span id=update-timer title="Update now"></span>'
|
||||
id: 'updater'
|
||||
$.ready ->
|
||||
Header.addShortcut sc
|
||||
|
||||
@ -514,7 +514,7 @@ QR =
|
||||
if g.BOARD.ID is 'f'
|
||||
nodes.flashTag = $.el 'select',
|
||||
name: 'filetag'
|
||||
innerHTML: """
|
||||
innerHTML: '''
|
||||
<option value=0>Hentai</option>
|
||||
<option value=6>Porn</option>
|
||||
<option value=1>Japanese</option>
|
||||
@ -522,7 +522,7 @@ QR =
|
||||
<option value=3>Game</option>
|
||||
<option value=5>Loop</option>
|
||||
<option value=4 selected>Other</option>
|
||||
"""
|
||||
'''
|
||||
nodes.flashTag.dataset.default = '4'
|
||||
$.add nodes.form, nodes.flashTag
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user