projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb12bf4
)
Merge the two consecutive if(!query) clauses.
author
Mike Taylor
<mike@indexdata.com>
Tue, 27 May 2014 15:53:29 +0000
(16:53 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 27 May 2014 15:53:29 +0000
(16:53 +0100)
src/mkws-widget.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget.js
b/src/mkws-widget.js
index
70bd0d0
..
3205990
100644
(file)
--- a/
src/mkws-widget.js
+++ b/
src/mkws-widget.js
@@
-132,9
+132,7
@@
widget.autosearch = function(widget) {
alert("This page has a MasterKey widget that needs a query specified by the '" + name + "' variable");
}
}
- }
- if (query) {
var sortOrder = widget.config.sort;
var maxrecs = widget.config.maxrecs;
var perpage = widget.config.perpage;