1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-12-01 05:24:11 +01:00

Bookmark: Fix some little settings pbms fix #51

This commit is contained in:
Brice Maron 2012-11-04 22:47:05 +00:00
parent 3bf8aff4e3
commit 3b4c5d05e4
2 changed files with 8 additions and 5 deletions

View File

@ -358,15 +358,15 @@ li:hover em { display : none; }
}
#bookmark_settings.open {
height: 300px;
height: auto;
}
#bm_setting_panel {
background-color: white;
background-color: #eee;
padding: 1em;
height: 100%;
display:none;
/* display:none; */
}
.open #bm_setting_panel { display:block; }
/* .open #bm_setting_panel { display:block; } */
#bm_setting_panel legend{
margin-top: 0.5em;

View File

@ -13,7 +13,10 @@ $(document).ready(function() {
// $('#bm_import_submit').click(attachSettingEvent);
$('#bm_import').change(attachSettingEvent);
$('#settingsbtn').on('click keydown', function() {
$('#bookmark_settings').toggleClass('open');
if( $('#bookmark_settings').hasClass('open'))
$('#bookmark_settings').switchClass( "open", "" );
else
$('#bookmark_settings').switchClass( "", "open");
});
$('#bm_export').click(exportBm);