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