From b79592f631ee1d20d8636bcc53b292949b70096a Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Mon, 13 Feb 2023 18:23:18 +0330 Subject: [PATCH] using https://dehkhoda.ut.ac.ir word search service because of previous service annoying ads --- GanjooRazor/Pages/AudioClip.cshtml | 2 +- GanjooRazor/Pages/FAQ.cshtml | 2 +- GanjooRazor/Pages/Hashieha.cshtml | 2 +- GanjooRazor/Pages/Index.cshtml | 2 +- GanjooRazor/Pages/Search.cshtml | 2 +- GanjooRazor/Pages/Simi.cshtml | 2 +- GanjooRazor/wwwroot/js/vaabd.js | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/GanjooRazor/Pages/AudioClip.cshtml b/GanjooRazor/Pages/AudioClip.cshtml index 6c00f0c4..fa279e38 100644 --- a/GanjooRazor/Pages/AudioClip.cshtml +++ b/GanjooRazor/Pages/AudioClip.cshtml @@ -152,7 +152,7 @@ - + + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/Pages/Hashieha.cshtml b/GanjooRazor/Pages/Hashieha.cshtml index abfc74de..4d2a2d1c 100644 --- a/GanjooRazor/Pages/Hashieha.cshtml +++ b/GanjooRazor/Pages/Hashieha.cshtml @@ -201,7 +201,7 @@ - + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/Pages/Index.cshtml b/GanjooRazor/Pages/Index.cshtml index 93af22ef..30084630 100644 --- a/GanjooRazor/Pages/Index.cshtml +++ b/GanjooRazor/Pages/Index.cshtml @@ -100,7 +100,7 @@ - + @if (Model.IsPoemPage) { diff --git a/GanjooRazor/Pages/Search.cshtml b/GanjooRazor/Pages/Search.cshtml index c98d58d0..ea9da946 100644 --- a/GanjooRazor/Pages/Search.cshtml +++ b/GanjooRazor/Pages/Search.cshtml @@ -212,7 +212,7 @@ - + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/Pages/Simi.cshtml b/GanjooRazor/Pages/Simi.cshtml index e91d1faf..bb239645 100644 --- a/GanjooRazor/Pages/Simi.cshtml +++ b/GanjooRazor/Pages/Simi.cshtml @@ -225,7 +225,7 @@ - + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/wwwroot/js/vaabd.js b/GanjooRazor/wwwroot/js/vaabd.js index a3ea9476..58bc8664 100644 --- a/GanjooRazor/wwwroot/js/vaabd.js +++ b/GanjooRazor/wwwroot/js/vaabd.js @@ -35,8 +35,8 @@ document.addEventListener('selectionchange', function() { $meaning.attr({ - href: 'https://www.vajehyab.com/?q=' + encodeURI(text), - title: 'جستجو در واژه‌یاب', + href: 'https://dehkhoda.ut.ac.ir/fa/dictionary/' + encodeURI(text), + title: 'جستجو در لغتنامه', target: '_blank' }) $abjad.attr({