mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixed #1796 fixed js so single quotes don't break the page in page title
This commit is contained in:
@@ -3,8 +3,11 @@
|
||||
{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.{$themeconf.colorscheme}.css"}
|
||||
|
||||
{footer_script}
|
||||
|
||||
const cat_nav = '{$CATEGORIES_NAV|escape:javascript}';
|
||||
|
||||
jQuery(document).ready(function() {
|
||||
$("h1").append(' <span style="letter-spacing:0">{$CATEGORIES_NAV}</span>');
|
||||
$("h1").append(' <span style="letter-spacing:0">'+cat_nav+'</span>');
|
||||
|
||||
jQuery("input[name=who]").change(function () {
|
||||
checkWhoOptions();
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
|
||||
{footer_script require='jquery.ui.sortable'}
|
||||
|
||||
const cat_nav = '{$CATEGORIES_NAV|escape:javascript}';
|
||||
|
||||
jQuery(document).ready(function() {
|
||||
$("h1").append(' <span style="letter-spacing:0">{$CATEGORIES_NAV}</span>');
|
||||
$("h1").append(' <span style="letter-spacing:0">'+cat_nav+'</span>');
|
||||
|
||||
function checkOrderOptions() {
|
||||
jQuery("#image_order_user_define_options").hide();
|
||||
|
||||
Reference in New Issue
Block a user