1
0
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:
llj
2013-03-04 19:29:09 +08:00
parent 8d3c791ea7
commit fda2a707f6
2 changed files with 17 additions and 3 deletions

View File

@@ -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>