fourchanx-link -> brackets-wrap

This commit is contained in:
Zixaphir 2013-05-10 02:55:46 -07:00
parent 2a3e0770ce
commit a273828c75
6 changed files with 20 additions and 16 deletions

View File

@ -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'>&nbsp;&nbsp;-&nbsp;&nbsp;</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'>&nbsp;&nbsp;-&nbsp;&nbsp;</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>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
innerHTML: "<span class=brackets-wrap>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
href: 'javascript:;'
});
$.on(a, 'click', PostHiding.toggle);
@ -5627,7 +5628,7 @@
a = $.el('a', {
className: "" + type + "-thread-button",
innerHTML: "<span class=fourchanx-link>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
innerHTML: "<span class=brackets-wrap>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
href: 'javascript:;'
});
a.setAttribute('data-fullid', thread.fullID);

View File

@ -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'>&nbsp;&nbsp;-&nbsp;&nbsp;</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'>&nbsp;&nbsp;-&nbsp;&nbsp;</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>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
innerHTML: "<span class=brackets-wrap>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
href: 'javascript:;'
});
$.on(a, 'click', PostHiding.toggle);
@ -5623,7 +5624,7 @@
a = $.el('a', {
className: "" + type + "-thread-button",
innerHTML: "<span class=fourchanx-link>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
innerHTML: "<span class=brackets-wrap>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
href: 'javascript:;'
});
a.setAttribute('data-fullid', thread.fullID);

View File

@ -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'>&nbsp;&nbsp;-&nbsp;&nbsp;</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'>&nbsp;&nbsp;-&nbsp;&nbsp;</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>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
innerHTML: "<span class=brackets-wrap>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
href: 'javascript:;'
});
$.on(a, 'click', PostHiding.toggle);
@ -5624,7 +5625,7 @@
a = $.el('a', {
className: "" + type + "-thread-button",
innerHTML: "<span class=fourchanx-link>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
innerHTML: "<span class=brackets-wrap>&nbsp;" + (type === 'hide' ? '-' : '+') + "&nbsp;</span>",
href: 'javascript:;'
});
a.setAttribute('data-fullid', thread.fullID);

View File

@ -135,7 +135,7 @@ PostHiding =
makeButton: (post, type) ->
a = $.el 'a',
className: "#{type}-reply-button"
innerHTML: "<span class=fourchanx-link>&nbsp;#{if type is 'hide' then '-' else '+'}&nbsp;</span>"
innerHTML: "<span class=brackets-wrap>&nbsp;#{if type is 'hide' then '-' else '+'}&nbsp;</span>"
href: 'javascript:;'
$.on a, 'click', PostHiding.toggle
a

View File

@ -111,7 +111,7 @@ ThreadHiding =
makeButton: (thread, type) ->
a = $.el 'a',
className: "#{type}-thread-button"
innerHTML: "<span class=fourchanx-link>&nbsp;#{if type is 'hide' then '-' else '+'}&nbsp;</span>"
innerHTML: "<span class=brackets-wrap>&nbsp;#{if type is 'hide' then '-' else '+'}&nbsp;</span>"
href: 'javascript:;'
a.setAttribute 'data-fullid', thread.fullID
$.on a, 'click', ThreadHiding.toggle

View File

@ -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'>&nbsp;&nbsp;-&nbsp;&nbsp;</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'>&nbsp;&nbsp;-&nbsp;&nbsp;</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