mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-21 19:00:12 +00:00
[ie,ff] rm dotted line for some elements when clicked
This commit is contained in:
@@ -5,9 +5,6 @@ $('#title-panel, #left-panel, #right-panel').each(function() { // for ie 7
|
||||
}
|
||||
});
|
||||
$('#tabs').tabs({cookie:{expires:1}});
|
||||
$('#tabs-nav a').focus(function() { $(this).blur(); });
|
||||
|
||||
$('input, textarea').placeholder();
|
||||
|
||||
// handle messages
|
||||
if ($('.messages')[0]) {
|
||||
@@ -25,6 +22,7 @@ $("table tr:gt(0)").hover(
|
||||
$(this).removeClass('hl');
|
||||
}
|
||||
);
|
||||
$('input, textarea').placeholder();
|
||||
$('#lang-context').click(function() {
|
||||
if ($(this).attr('data') == 'no-popup') {
|
||||
$(this).parent().css('position', 'relative');
|
||||
@@ -44,6 +42,17 @@ $(document).click(function(e) {
|
||||
}
|
||||
});
|
||||
|
||||
if ($.browser.mozilla || $.browser.msie) {
|
||||
$('a').focus(function() {
|
||||
$(this).blur();
|
||||
});
|
||||
}
|
||||
if ($.browser.msie) {
|
||||
$('button, input[type="checkbox"], input[type="radio"], input[type="submit"]').focus(function() {
|
||||
$(this).blur();
|
||||
});
|
||||
}
|
||||
|
||||
/*
|
||||
* add op confirm popup
|
||||
* e.g: <button data-url="" data-target="">xxx</button>
|
||||
|
||||
Reference in New Issue
Block a user