fourchanx-link -> brackets-wrap
This commit is contained in:
parent
2a3e0770ce
commit
a273828c75
@ -3746,7 +3746,7 @@
|
||||
}
|
||||
boardList = $.el('span', {
|
||||
id: 'board-list',
|
||||
innerHTML: "<span id=custom-board-list></span><span id=full-board-list hidden><a href=javascript:; class='hide-board-list-button fourchanx-link'> - </a> " + fourchannav.innerHTML + "</span>"
|
||||
innerHTML: "<span id=custom-board-list></span><span id=full-board-list hidden><a href=javascript:; class='hide-board-list-button brackets-wrap'> - </a> " + fourchannav.innerHTML + "</span>"
|
||||
});
|
||||
fullBoardList = $('#full-board-list', boardList);
|
||||
btn = $('.hide-board-list-button', fullBoardList);
|
||||
@ -3919,8 +3919,9 @@
|
||||
var shortcut;
|
||||
|
||||
shortcut = $.el('span', {
|
||||
className: 'shortcut fourchanx-link'
|
||||
className: 'shortcut'
|
||||
});
|
||||
$.addClass(el, 'brackets-wrap');
|
||||
$.add(shortcut, el);
|
||||
return $.prepend(Header.shortcuts, shortcut);
|
||||
},
|
||||
@ -5297,7 +5298,7 @@
|
||||
|
||||
a = $.el('a', {
|
||||
className: "" + type + "-reply-button",
|
||||
innerHTML: "<span class=fourchanx-link> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
innerHTML: "<span class=brackets-wrap> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
href: 'javascript:;'
|
||||
});
|
||||
$.on(a, 'click', PostHiding.toggle);
|
||||
@ -5627,7 +5628,7 @@
|
||||
|
||||
a = $.el('a', {
|
||||
className: "" + type + "-thread-button",
|
||||
innerHTML: "<span class=fourchanx-link> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
innerHTML: "<span class=brackets-wrap> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
href: 'javascript:;'
|
||||
});
|
||||
a.setAttribute('data-fullid', thread.fullID);
|
||||
|
||||
@ -3742,7 +3742,7 @@
|
||||
}
|
||||
boardList = $.el('span', {
|
||||
id: 'board-list',
|
||||
innerHTML: "<span id=custom-board-list></span><span id=full-board-list hidden><a href=javascript:; class='hide-board-list-button fourchanx-link'> - </a> " + fourchannav.innerHTML + "</span>"
|
||||
innerHTML: "<span id=custom-board-list></span><span id=full-board-list hidden><a href=javascript:; class='hide-board-list-button brackets-wrap'> - </a> " + fourchannav.innerHTML + "</span>"
|
||||
});
|
||||
fullBoardList = $('#full-board-list', boardList);
|
||||
btn = $('.hide-board-list-button', fullBoardList);
|
||||
@ -3915,8 +3915,9 @@
|
||||
var shortcut;
|
||||
|
||||
shortcut = $.el('span', {
|
||||
className: 'shortcut fourchanx-link'
|
||||
className: 'shortcut'
|
||||
});
|
||||
$.addClass(el, 'brackets-wrap');
|
||||
$.add(shortcut, el);
|
||||
return $.prepend(Header.shortcuts, shortcut);
|
||||
},
|
||||
@ -5293,7 +5294,7 @@
|
||||
|
||||
a = $.el('a', {
|
||||
className: "" + type + "-reply-button",
|
||||
innerHTML: "<span class=fourchanx-link> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
innerHTML: "<span class=brackets-wrap> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
href: 'javascript:;'
|
||||
});
|
||||
$.on(a, 'click', PostHiding.toggle);
|
||||
@ -5623,7 +5624,7 @@
|
||||
|
||||
a = $.el('a', {
|
||||
className: "" + type + "-thread-button",
|
||||
innerHTML: "<span class=fourchanx-link> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
innerHTML: "<span class=brackets-wrap> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
href: 'javascript:;'
|
||||
});
|
||||
a.setAttribute('data-fullid', thread.fullID);
|
||||
|
||||
@ -3743,7 +3743,7 @@
|
||||
}
|
||||
boardList = $.el('span', {
|
||||
id: 'board-list',
|
||||
innerHTML: "<span id=custom-board-list></span><span id=full-board-list hidden><a href=javascript:; class='hide-board-list-button fourchanx-link'> - </a> " + fourchannav.innerHTML + "</span>"
|
||||
innerHTML: "<span id=custom-board-list></span><span id=full-board-list hidden><a href=javascript:; class='hide-board-list-button brackets-wrap'> - </a> " + fourchannav.innerHTML + "</span>"
|
||||
});
|
||||
fullBoardList = $('#full-board-list', boardList);
|
||||
btn = $('.hide-board-list-button', fullBoardList);
|
||||
@ -3916,8 +3916,9 @@
|
||||
var shortcut;
|
||||
|
||||
shortcut = $.el('span', {
|
||||
className: 'shortcut fourchanx-link'
|
||||
className: 'shortcut'
|
||||
});
|
||||
$.addClass(el, 'brackets-wrap');
|
||||
$.add(shortcut, el);
|
||||
return $.prepend(Header.shortcuts, shortcut);
|
||||
},
|
||||
@ -5294,7 +5295,7 @@
|
||||
|
||||
a = $.el('a', {
|
||||
className: "" + type + "-reply-button",
|
||||
innerHTML: "<span class=fourchanx-link> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
innerHTML: "<span class=brackets-wrap> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
href: 'javascript:;'
|
||||
});
|
||||
$.on(a, 'click', PostHiding.toggle);
|
||||
@ -5624,7 +5625,7 @@
|
||||
|
||||
a = $.el('a', {
|
||||
className: "" + type + "-thread-button",
|
||||
innerHTML: "<span class=fourchanx-link> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
innerHTML: "<span class=brackets-wrap> " + (type === 'hide' ? '-' : '+') + " </span>",
|
||||
href: 'javascript:;'
|
||||
});
|
||||
a.setAttribute('data-fullid', thread.fullID);
|
||||
|
||||
@ -135,7 +135,7 @@ PostHiding =
|
||||
makeButton: (post, type) ->
|
||||
a = $.el 'a',
|
||||
className: "#{type}-reply-button"
|
||||
innerHTML: "<span class=fourchanx-link> #{if type is 'hide' then '-' else '+'} </span>"
|
||||
innerHTML: "<span class=brackets-wrap> #{if type is 'hide' then '-' else '+'} </span>"
|
||||
href: 'javascript:;'
|
||||
$.on a, 'click', PostHiding.toggle
|
||||
a
|
||||
|
||||
@ -111,7 +111,7 @@ ThreadHiding =
|
||||
makeButton: (thread, type) ->
|
||||
a = $.el 'a',
|
||||
className: "#{type}-thread-button"
|
||||
innerHTML: "<span class=fourchanx-link> #{if type is 'hide' then '-' else '+'} </span>"
|
||||
innerHTML: "<span class=brackets-wrap> #{if type is 'hide' then '-' else '+'} </span>"
|
||||
href: 'javascript:;'
|
||||
a.setAttribute 'data-fullid', thread.fullID
|
||||
$.on a, 'click', ThreadHiding.toggle
|
||||
|
||||
@ -82,7 +82,7 @@ Header =
|
||||
|
||||
boardList = $.el 'span',
|
||||
id: 'board-list'
|
||||
innerHTML: "<span id=custom-board-list></span><span id=full-board-list hidden><a href=javascript:; class='hide-board-list-button fourchanx-link'> - </a> #{fourchannav.innerHTML}</span>"
|
||||
innerHTML: "<span id=custom-board-list></span><span id=full-board-list hidden><a href=javascript:; class='hide-board-list-button brackets-wrap'> - </a> #{fourchannav.innerHTML}</span>"
|
||||
fullBoardList = $ '#full-board-list', boardList
|
||||
btn = $ '.hide-board-list-button', fullBoardList
|
||||
$.on btn, 'click', Header.toggleBoardList
|
||||
@ -245,7 +245,8 @@ Header =
|
||||
|
||||
addShortcut: (el) ->
|
||||
shortcut = $.el 'span',
|
||||
className: 'shortcut fourchanx-link'
|
||||
className: 'shortcut'
|
||||
$.addClass el, 'brackets-wrap'
|
||||
$.add shortcut, el
|
||||
$.prepend Header.shortcuts, shortcut
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user