Permalink
Browse files

fix for empty params

  • Loading branch information...
1 parent 3116a9b commit 294a1fb2baa86ec6fc284b2f608d650d5cee7dac @bobrik committed Jul 28, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 package.json
  2. +2 −2 public/index.html
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "pupergrep",
- "version": "0.3.0",
+ "version": "0.3.1",
"description": "Real-time grep for your logs right in your favorite modern browser made with Twitter Bootstrap.",
"main": "index.js",
"dependencies": {
View
4 public/index.html
@@ -337,10 +337,10 @@
if (log) {
currentLog = log;
}
- if (grepJoin != grepJoinType.data("join-type")) {
+ if (grepJoin && grepJoin != grepJoinType.data("join-type")) {
grepJoinType.click();
}
- if (highlightJoin != highlightJoinType.data("join-type")) {
+ if (highlightJoin && highlightJoin != highlightJoinType.data("join-type")) {
highlightJoinType.click();
}
})();

0 comments on commit 294a1fb

Please sign in to comment.