Commit d6dd28e7 authored by idalin's avatar idalin

limit search results to 20

parent c98617a1
...@@ -68,6 +68,7 @@ $(document).ready(function () { ...@@ -68,6 +68,7 @@ $(document).ready(function () {
'</div>' + '</div>' +
'</li>'; '</li>';
$("#book-list").append(book); $("#book-list").append(book);
if(i>20){break;}
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment