mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Prevent pad translation and crash
Prevent "TypeError: Cannot read properties of null (reading 'sheet')" exception because google chrome can translate `<style type="text/css" title="dynamicsyntax"></style>` title attribute
This commit is contained in:
parent
cb257de8f9
commit
0cc15df9b9
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
||||||
;
|
;
|
||||||
%>
|
%>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html class="pad <%=pluginUtils.clientPluginNames().join(' '); %> <%=settings.skinVariants%>">
|
<html translate="no" class="pad <%=pluginUtils.clientPluginNames().join(' '); %> <%=settings.skinVariants%>">
|
||||||
<head>
|
<head>
|
||||||
<% e.begin_block("htmlHead"); %>
|
<% e.begin_block("htmlHead"); %>
|
||||||
<% e.end_block(); %>
|
<% e.end_block(); %>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
, langs = require("ep_etherpad-lite/node/hooks/i18n").availableLangs
|
, langs = require("ep_etherpad-lite/node/hooks/i18n").availableLangs
|
||||||
%>
|
%>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html class="pad <%=settings.skinVariants%>">
|
<html translate="no" class="pad <%=settings.skinVariants%>">
|
||||||
<head>
|
<head>
|
||||||
<title data-l10n-id="timeslider.pageTitle" data-l10n-args='{ "appTitle": "<%=settings.title%>" }'><%=settings.title%> Timeslider</title>
|
<title data-l10n-id="timeslider.pageTitle" data-l10n-args='{ "appTitle": "<%=settings.title%>" }'><%=settings.title%> Timeslider</title>
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in a new issue