mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
16 lines
415 B
JavaScript
16 lines
415 B
JavaScript
(function() {
|
|
'use strict';
|
|
|
|
$(document.body).ready(function() {
|
|
$('#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);
|
|
}
|
|
});
|
|
});
|
|
})();
|