aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxufanglu <3146974+likev@users.noreply.github.com>2020-04-21 23:25:00 +0800
committerGitHub <noreply@github.com>2020-04-21 23:25:00 +0800
commitd2fa69bca6f2497c7d2c090e8ff1e1ae1760f7bc (patch)
tree0ef48a97d55e5f3a9225ccadaaf578debde55be9
parent39558cbabc76df1fc29fbe12d8f6b14ad01bb559 (diff)
downloadplyr-d2fa69bca6f2497c7d2c090e8ff1e1ae1760f7bc.tar.lz
plyr-d2fa69bca6f2497c7d2c090e8ff1e1ae1760f7bc.tar.xz
plyr-d2fa69bca6f2497c7d2c090e8ff1e1ae1760f7bc.zip
Update readme.md
fixed code logic error
-rw-r--r--readme.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index a5acb614..2e9852bc 100644
--- a/readme.md
+++ b/readme.md
@@ -674,7 +674,7 @@ The `enabled` option can be used to disable certain User Agents. For example, if
```javascript
{
- enabled: /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent);
+ enabled: !/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent);
}
```