/usr/share/doc/libjs-jquery-geo-doc/html/js/script.js is in libjs-jquery-geo-doc 1.0~b1+ds1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | /* Author: Ryan Westphal
*/
$(function () {
$("a[data-href]").live("click", function (e) {
$("#" + $(this).data("href"))[0].scrollIntoView();
});
$(".ui-page").live("pageshow", function () {
$(this).find(".geomap-indoc").geomap({ zoom: 2, scroll: "off" });
});
$(".ui-page").live("pagebeforehide", function () {
$(this).find(".geomap-indoc").geomap("destroy");
});
});
|