Remove a redundant call to .blur()
This commit is contained in:
3
index.js
3
index.js
@@ -181,9 +181,6 @@ Pjax.prototype = {
|
|||||||
},
|
},
|
||||||
document.title, window.location)
|
document.title, window.location)
|
||||||
|
|
||||||
// Clear out any focused controls before inserting new page contents.
|
|
||||||
document.activeElement.blur()
|
|
||||||
|
|
||||||
var oldHref = href
|
var oldHref = href
|
||||||
if (request.responseURL) {
|
if (request.responseURL) {
|
||||||
if (href !== request.responseURL) {
|
if (href !== request.responseURL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user