Skip to content

TagSpaces is an offline, open source, document manager with tagging support

scrolling to bottom after adding new file type

uggrockc498143e9d74
diff --git a/data/js/options.ui.js b/data/js/options.ui.js
index 0618fcc80..b33756b45 100644
--- a/data/js/options.ui.js
+++ b/data/js/options.ui.js
@@ -42,6 +42,7 @@ define(function(require, exports, module) {
// Fixes reloading of the application by click
e.preventDefault();
addFileType($('#fileTypesList'), '', '', '');
+ $('#fileTypesList').parent().animate({ scrollTop: ($('#fileTypesList').height()) }, 'slow');
});
$('#addPerspectiveButton').click(function(e) {
// Fixes reloading of the application by click