From e7145e3f136373ea8912ec46c9bb6a3eaea9bf1c Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sat, 4 Jan 2014 13:54:37 +0000 Subject: Use escape sequences for UTF8 characters in javascript source --- js/webtrees-1.5.1.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/webtrees-1.5.1.js b/js/webtrees-1.5.1.js index 8082f88f0f..a407ebf5d6 100644 --- a/js/webtrees-1.5.1.js +++ b/js/webtrees-1.5.1.js @@ -1441,11 +1441,11 @@ function activate_colorbox(config) { fixed: true, // Simple I18N - the text will need to come from PHP current: '', - previous: textDirection=='ltr' ? '◀' : '▶', - next: textDirection=='ltr' ? '▶' : '◀', - slideshowStart: '○', - slideshowStop: '●', - close: '×' + previous: textDirection=='ltr' ? '\u25c0' : '\u25b6', // ◀ ▶ + next: textDirection=='ltr' ? '\u25b6' : '\u25c0', // ▶ ◀ + slideshowStart: '\u25cb', // ○ + slideshowStop: '\u25cf', // ● + close: '\u2715' // × }); if (config) { jQuery.extend(jQuery.colorbox.settings, config); -- cgit v1.3