#196 loading btshmr() on page load

This commit is contained in:
Hamid Reza Mohammadi 2021-08-28 18:42:46 +04:30
parent 6179e96857
commit 65e55fd9ac
2 changed files with 33 additions and 24 deletions

View File

@ -12,24 +12,37 @@
<title>
@Html.Raw(ViewData["Title"])
</title>
<link href="/dist/skin/blue.monday/css/jplayer.blue.monday.min.css" rel="stylesheet" type="text/css" />
<link href="/css/p6.css" rel="stylesheet" type="text/css" />
<link href="/css/fab.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
<script src="/lib/jquery/dist/jquery.min.js"></script>
<script>
var playerScrollLock = false;
</script>
<script src="/js/bf.js"></script>
<script src="/js/vaabd.js"></script>
@if (Model.IsHomePage)
{
<meta name="description" content="جستجو در شعر فارسی" />
}
else
{
if (Model.IsPoemPage)
{
<script>
$(document).ready(function () {
btshmr();
});
</script>
}
<script type="application/ld+json">
{
@Html.Raw(@ViewData["BrearCrumpList"])
}
</script>
}
<link href="/dist/skin/blue.monday/css/jplayer.blue.monday.min.css" rel="stylesheet" type="text/css" />
<link href="/css/p6.css" rel="stylesheet" type="text/css" />
<link href="/css/fab.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="search" type="application/opensearchdescription+xml" title="گنجور" href="https://ganjoor.net/search.xml" />
</head>
<body>
@ -53,12 +66,7 @@
}
<script src="/lib/jquery/dist/jquery.min.js"></script>
<script>
var playerScrollLock = false;
</script>
<script src="/js/bf.js"></script>
<script src="/js/vaabd.js"></script>
@{
@ -133,16 +141,17 @@
<script src="/lib/tinymce/tinymce.min.js"></script>
<script>tinymce.init({
selector: 'textarea.editor',
language: 'fa_IR',
menubar: false,
plugins: 'link paste',
toolbar: 'undo redo | alignleft aligncenter alignright alignjustify | outdent indent | link',
paste_auto_cleanup_on_paste: true,
paste_remove_styles: true,
paste_remove_styles_if_webkit: true,
paste_strip_class_attributes: true,
<script>
tinymce.init({
selector: 'textarea.editor',
language: 'fa_IR',
menubar: false,
plugins: 'link paste',
toolbar: 'undo redo | alignleft aligncenter alignright alignjustify | outdent indent | link',
paste_auto_cleanup_on_paste: true,
paste_remove_styles: true,
paste_remove_styles_if_webkit: true,
paste_strip_class_attributes: true,
});
</script>
<script>

View File

@ -8,8 +8,8 @@
},
"AllowedHosts": "*",
"GoogleAnalyticsCode": "",
"APIRoot": "http://localhost:3439",
"GlobalAPIRoot": "http://localhost:3439",
"APIRoot": "https://ganjgah.ir",
"GlobalAPIRoot": "https://ganjgah.ir",
"SiteUrl": "http://localhost:33081",
"ReadOnlyMode": "False"
}