settings: Enter now submits the data in Default stream settings.

Fixes #4232.
This commit is contained in:
digi0ps
2017-04-27 02:02:37 +05:30
committed by Tim Abbott
parent 6f7b973d3b
commit 729bd6af12

View File

@@ -162,6 +162,9 @@ exports.on_load_success = function (streams_data) {
if (e.which === 13) { if (e.which === 13) {
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
var default_stream_input = $(".create_default_stream");
make_stream_default(default_stream_input.val());
default_stream_input[0].value = "";
} }
}); });