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 attributepull/5337/head
parent
cb257de8f9
commit
0cc15df9b9
|
@ -5,7 +5,7 @@
|
|||
;
|
||||
%>
|
||||
<!doctype html>
|
||||
<html class="pad <%=pluginUtils.clientPluginNames().join(' '); %> <%=settings.skinVariants%>">
|
||||
<html translate="no" class="pad <%=pluginUtils.clientPluginNames().join(' '); %> <%=settings.skinVariants%>">
|
||||
<head>
|
||||
<% e.begin_block("htmlHead"); %>
|
||||
<% e.end_block(); %>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
, langs = require("ep_etherpad-lite/node/hooks/i18n").availableLangs
|
||||
%>
|
||||
<!doctype html>
|
||||
<html class="pad <%=settings.skinVariants%>">
|
||||
<html translate="no" class="pad <%=settings.skinVariants%>">
|
||||
<head>
|
||||
<title data-l10n-id="timeslider.pageTitle" data-l10n-args='{ "appTitle": "<%=settings.title%>" }'><%=settings.title%> Timeslider</title>
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue