projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a889fc
)
Using `this` as return value for $.fn.focus on iOS
author
Alexander Ebert
<ebert@woltlab.com>
Fri, 16 Oct 2015 13:21:34 +0000
(15:21 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Fri, 16 Oct 2015 13:21:45 +0000
(15:21 +0200)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index 3ea81487ab9fc4f178e02e17357e244a65f416f4..e06760b6f82218843c60800e6d3fbec81d7df568 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-185,7
+185,7
@@
window.shuffle = function(array) {
// work-around for zoom bug on iOS when using .focus()
if (jQuery.browser.iOS) {
jQuery.fn.focus = function() {
- return
arguments[0]
;
+ return
this
;
};
}
})(jQuery);