aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-03-26 08:12:06 -0400
committergorhill <rhill@raymondhill.net>2015-03-26 08:12:06 -0400
commit0ca84246f53cea7447ad42310d32fa754935c6c8 (patch)
tree4a86cca52e42c361a90198e6441588eaf5b0a162 /src/js
parent9ee9ceed7df95b9c08864bd36718ad5b7f905955 (diff)
downloaduBlock-0ca84246f53cea7447ad42310d32fa754935c6c8.zip
uBlock-0ca84246f53cea7447ad42310d32fa754935c6c8.tar.gz
uBlock-0ca84246f53cea7447ad42310d32fa754935c6c8.tar.bz2
#1013: fine tuning
Diffstat (limited to 'src/js')
-rw-r--r--src/js/document-blocked.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/document-blocked.js b/src/js/document-blocked.js
index f791928..7108100 100644
--- a/src/js/document-blocked.js
+++ b/src/js/document-blocked.js
@@ -59,12 +59,12 @@ uDom('#why').text(details.why.slice(3));
if ( window.history.length > 1 ) {
uDom('#back').on('click', function() { window.history.back(); });
+ uDom('#bye').css('display', 'none');
} else {
+ uDom('#bye').on('click', function() { window.close(); });
uDom('#back').css('display', 'none');
}
-uDom('#bye').on('click', function() { window.close(); });
-
uDom('#yolo').attr('href', details.url)
.on('click', yolo);