scinote-web/app/assets/javascripts/search.js

15 lines
351 B
JavaScript
Raw Normal View History

2017-05-09 00:00:14 +08:00
(function() {
'use strict';
2018-07-19 23:56:42 +08:00
$('#search_whole_word').click(function() {
if ($(this).prop('checked') === true) {
$('#search_whole_phrase').prop('checked', false);
}
2017-05-05 22:41:23 +08:00
});
2018-07-19 23:56:42 +08:00
$('#search_whole_phrase').click(function() {
if ($(this).prop('checked') === true) {
$('#search_whole_word').prop('checked', false);
}
});
}());