mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
More admin bar styling improvements. Includes RTL fixes. Don't show redundant 'search' value. props ocean90, see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16875 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -101,7 +101,6 @@
|
||||
|
||||
addEvent(w, 'load', function() {
|
||||
var b = d.getElementsByTagName('body')[0],
|
||||
s = d.getElementById('adminbar-search');
|
||||
|
||||
aB = d.getElementById('wpadminbar');
|
||||
|
||||
@@ -119,18 +118,6 @@
|
||||
addEvent(aB, 'click', clickShortlink );
|
||||
}
|
||||
|
||||
if ( s ) {
|
||||
if ( '' == s.value )
|
||||
s.value = s.getAttribute('title');
|
||||
|
||||
s.onblur = function() {
|
||||
this.value = '' == this.value ? this.getAttribute('title') : this.value;
|
||||
}
|
||||
s.onfocus = function() {
|
||||
this.value = this.getAttribute('title') == this.value ? '' : this.value;
|
||||
}
|
||||
}
|
||||
|
||||
if ( w.location.hash )
|
||||
w.scrollBy(0,-32);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user