Commit a1538e12 authored by OzzieIsaacs's avatar OzzieIsaacs

Bugfix typeahead on advanced serach page

parent de112b0b
......@@ -3,6 +3,7 @@
*/
/* global Bloodhound, language, Modernizr, tinymce */
if ($("#description").length) {
tinymce.init({
selector: "#description",
branding: false,
......@@ -10,6 +11,7 @@ tinymce.init({
language
});
if (!Modernizr.inputtypes.date) {
$("#pubdate").datepicker({
format: "yyyy-mm-dd",
......@@ -26,7 +28,7 @@ if (!Modernizr.inputtypes.date) {
.removeClass("hidden");
}).trigger("change");
}
}
/*
Takes a prefix, query typeahead callback, Bloodhound typeahead adapter
and returns the completions it gets from the bloodhound engine prefixed.
......
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