mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 10:06:53 +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);
|
|
}
|
|
});
|
|
}());
|