mirror of https://github.com/gorhill/uBlock.git
parent
32b1f4ea86
commit
6dd5c832a2
|
@ -12,13 +12,13 @@
|
|||
|
||||
<p id="aboutNameVer"></p>
|
||||
<ul>
|
||||
<li><a href="https://github.com/gorhill/uBlock/releases" target="_blank" data-i18n="aboutChangelog"></a>
|
||||
<li><a href="https://github.com/gorhill/uBlock/wiki" target="_blank" data-i18n="aboutWiki"></a>
|
||||
<li><a href="https://github.com/gorhill/uBlock" target="_blank" data-i18n="aboutCode"></a>
|
||||
<li><a href="https://github.com/gorhill/uBlock/releases" data-i18n="aboutChangelog"></a>
|
||||
<li><a href="https://github.com/gorhill/uBlock/wiki" data-i18n="aboutWiki"></a>
|
||||
<li><a href="https://github.com/gorhill/uBlock" data-i18n="aboutCode"></a>
|
||||
<li><span data-i18n="aboutContributors"></span>
|
||||
<ul>
|
||||
<li><a href="https://github.com/gorhill/uBlock/graphs/contributors" target="_blank">Github</a>
|
||||
<li><a href="https://crowdin.net/project/ublock" target="_blank">Crowdin</a>
|
||||
<li><a href="https://github.com/gorhill/uBlock/graphs/contributors">Github</a>
|
||||
<li><a href="https://crowdin.net/project/ublock">Crowdin</a>
|
||||
</ul>
|
||||
<li><a href="http://fontawesome.io" target="_blank">Font Awesome by Dave Gandy</a>
|
||||
</ul>
|
||||
|
|
|
@ -31,7 +31,7 @@ self.uBlockDashboard = self.uBlockDashboard || {};
|
|||
// Helper for client panes:
|
||||
// Remove literal duplicate lines from a set based on another set.
|
||||
|
||||
self.uBlock.mergeNewLines = function(text, newText) {
|
||||
self.uBlockDashboard.mergeNewLines = function(text, newText) {
|
||||
var lineBeg, textEnd, lineEnd;
|
||||
var line, hash, bucket;
|
||||
|
||||
|
@ -103,14 +103,12 @@ self.uBlock.mergeNewLines = function(text, newText) {
|
|||
|
||||
/******************************************************************************/
|
||||
|
||||
(function() {
|
||||
// Open links in the proper window
|
||||
uDom('a').attr('target', '_blank');
|
||||
uDom('a[href*="dashboard.html"]').attr('target', '_parent');
|
||||
uDom('.whatisthis').on('click', function() {
|
||||
// Open links in the proper window
|
||||
uDom('a').attr('target', '_blank');
|
||||
uDom('a[href*="dashboard.html"]').attr('target', '_parent');
|
||||
uDom('.whatisthis').on('click', function() {
|
||||
uDom(this)
|
||||
.parent()
|
||||
.descendants('.whatisthis-expandable')
|
||||
.toggleClass('whatisthis-expanded');
|
||||
});
|
||||
})();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue