mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
14 lines
351 B
JavaScript
14 lines
351 B
JavaScript
(function() {
|
|
'use strict';
|
|
|
|
$('#search_whole_word').click(function() {
|
|
if ($(this).prop('checked') === true) {
|
|
$('#search_whole_phrase').prop('checked', false);
|
|
}
|
|
});
|
|
$('#search_whole_phrase').click(function() {
|
|
if ($(this).prop('checked') === true) {
|
|
$('#search_whole_word').prop('checked', false);
|
|
}
|
|
});
|
|
}());
|