Simplify code
This commit is contained in:
parent
3dd5943e17
commit
5fcb33bf16
|
|
@ -1,7 +1,7 @@
|
|||
import { queryStringify } from './utils';
|
||||
|
||||
async function sendFeedback() {
|
||||
if (document.cookie.replace(/(?:(?:^|.*;\s*)feedback_sent\s*=\s*([^;]*).*$)|^.*$/, '$1') !== '') {
|
||||
if (document.cookie.replace(/(?:(?:^|.*;\s*)feedback_sent\s*=\s*([^;]*).*$)|^.*$/, '$1')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user