summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks/js/bookmarksearch.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/bookmarks/js/bookmarksearch.js')
-rw-r--r--apps/bookmarks/js/bookmarksearch.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/bookmarks/js/bookmarksearch.js b/apps/bookmarks/js/bookmarksearch.js
index e7a4fb18393..e8f5363c935 100644
--- a/apps/bookmarks/js/bookmarksearch.js
+++ b/apps/bookmarks/js/bookmarksearch.js
@@ -16,6 +16,7 @@ function recordClick(event) {
var jsFileLocation = $('script[src*=bookmarksearch]').attr('src');
jsFileLocation = jsFileLocation.replace('js/bookmarksearch.js', '');
$.ajax({
+ type: 'POST',
url: jsFileLocation + 'ajax/recordClick.php',
data: 'url=' + encodeURI($(this).attr('href')),
});