Don't check for stronger hash if we have an edit hash
This commit is contained in:
@@ -557,6 +557,11 @@ define([
|
||||
return void cb(null, hashes);
|
||||
}
|
||||
|
||||
if (hashes.editHash) {
|
||||
// no need to find stronger if we already have edit hash
|
||||
return void cb(null, hashes);
|
||||
}
|
||||
|
||||
postMessage("GET_STRONGER_HASH", {
|
||||
href: window.location.href
|
||||
}, function (hash) {
|
||||
|
||||
Reference in New Issue
Block a user