Page MenuHomePhabricator

2241b.patch

Authored By
bzimport
Nov 21 2014, 8:29 PM
Size
707 B
Referenced Files
None
Subscribers
None

2241b.patch

Index: skins/common/wikibits.js
===================================================================
--- skins/common/wikibits.js (revision 15999)
+++ skins/common/wikibits.js (working copy)
@@ -485,8 +485,16 @@
}
if (a) {
- a.accessKey = ta[id][0];
- ak = ' ['+pref+ta[id][0]+']';
+ if (
+ (id != 'ca-watch' && id != 'ca-unwatch')
+ || (
+ (id == 'ca-watch' || id == 'ca-unwatch')
+ && !(window.location.search.match(new RegExp("[\?&](action=edit|action=submit)","i")))
+ )
+ ) {
+ a.accessKey = ta[id][0];
+ ak = ' ['+pref+ta[id][0]+']';
+ }
}
} else {
// We don't care what type the object is when assigning tooltip

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1617
Default Alt Text
2241b.patch (707 B)

Event Timeline