X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1e9113af163a3d002b0b9c3e8c339f22af5b848a..c798d2c2b8516c242c0884ccc768a9b43ce16195:/apps/wolnelektury_core/static/js/picture.js diff --git a/apps/wolnelektury_core/static/js/picture.js b/apps/wolnelektury_core/static/js/picture.js index 7c5ff9c39..b058967b2 100644 --- a/apps/wolnelektury_core/static/js/picture.js +++ b/apps/wolnelektury_core/static/js/picture.js @@ -58,7 +58,7 @@ if (initial_hash.startsWith('#object-')) { $("[href=#picture-objects]").trigger('click'); } else if (initial_hash.startsWith('#theme-')) { - $("[href=#picutre-themes]").trigger('click'); + $("[href=#picture-themes]").trigger('click'); } mk = $("[href=" + initial_hash + "]").eq(0); self._initial_mark = self.createMark({ @@ -230,7 +230,6 @@ return $mark.get(0); }, }); -}(jQuery)); $(document).ready(function() { @@ -249,3 +248,4 @@ $(document).ready(function() { }); +}(jQuery));