Console errors are icky.
This commit is contained in:
parent
d81389fc8a
commit
0b802fdd56
@ -4827,9 +4827,9 @@
|
||||
return new Notification('info', message, 2);
|
||||
},
|
||||
hashScroll: function() {
|
||||
var post;
|
||||
var hash, post;
|
||||
|
||||
if (!(post = $.id(this.location.hash.slice(1)))) {
|
||||
if (!((hash = this.location.hash) && (post = $.id(hash.slice(1))))) {
|
||||
return;
|
||||
}
|
||||
if ((Get.postFromRoot(post)).isHidden) {
|
||||
|
||||
@ -4818,9 +4818,9 @@
|
||||
return new Notification('info', message, 2);
|
||||
},
|
||||
hashScroll: function() {
|
||||
var post;
|
||||
var hash, post;
|
||||
|
||||
if (!(post = $.id(this.location.hash.slice(1)))) {
|
||||
if (!((hash = this.location.hash) && (post = $.id(hash.slice(1))))) {
|
||||
return;
|
||||
}
|
||||
if ((Get.postFromRoot(post)).isHidden) {
|
||||
|
||||
BIN
builds/crx.crx
BIN
builds/crx.crx
Binary file not shown.
@ -4741,9 +4741,9 @@
|
||||
return new Notification('info', message, 2);
|
||||
},
|
||||
hashScroll: function() {
|
||||
var post;
|
||||
var hash, post;
|
||||
|
||||
if (!(post = $.id(this.location.hash.slice(1)))) {
|
||||
if (!((hash = this.location.hash) && (post = $.id(hash.slice(1))))) {
|
||||
return;
|
||||
}
|
||||
if ((Get.postFromRoot(post)).isHidden) {
|
||||
|
||||
@ -194,7 +194,7 @@ Header =
|
||||
new Notification 'info', message, 2
|
||||
|
||||
hashScroll: ->
|
||||
return unless post = $.id @location.hash[1..]
|
||||
return unless (hash = @location.hash) and post = $.id hash[1..]
|
||||
return if (Get.postFromRoot post).isHidden
|
||||
Header.scrollToPost post
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user