[sword-svn] r428 - trunk/webapp
scribe at crosswire.org
scribe at crosswire.org
Tue Jun 14 13:28:29 MST 2016
Author: scribe
Date: 2016-06-14 13:28:28 -0700 (Tue, 14 Jun 2016)
New Revision: 428
Modified:
trunk/webapp/simplegadget.jsp
Log:
added font specialization for sahidic
Modified: trunk/webapp/simplegadget.jsp
===================================================================
--- trunk/webapp/simplegadget.jsp 2016-06-14 20:27:13 UTC (rev 427)
+++ trunk/webapp/simplegadget.jsp 2016-06-14 20:28:28 UTC (rev 428)
@@ -65,7 +65,7 @@
<script type="text/javascript">
-
+var tabLabel = '';
var specialModules = {
bo : "SahidicBible",
sa : "SahidicBible",
@@ -189,6 +189,7 @@
text += '<span>'+words[i]+'</span> ';
}
$('.currentverse:last').html(text);
+ $('.currentverse > span').css('font-family','AntinoouWeb');
}
}
@@ -199,6 +200,9 @@
$('#currentVerse').html(results[0]);
$('#verseRef').val(results[0]);
$('#chapterContent').html(results[1]);
+ if (tabLabel == 'SahidicBible') {
+ $('#chapterContent').css('font-family','AntinoouWeb');
+ }
addSpansIfNecessary();
@@ -363,8 +367,11 @@
expandFillPageClients();
});
- var tabLabel = (swordModule == 'WHNU') ? 'NA28' : swordModule;
+ tabLabel = (swordModule == 'WHNU') ? 'NA28' : swordModule;
var tab = $("#tabs").find(".ui-tabs-nav li:eq(0)").children('a').text(tabLabel);
+ if (tabLabel == 'SahidicBible') {
+ $('#searchText').css('font-family','AntinoouWeb');
+ }
}
if (gadgets.util.hasFeature('pubsub-2')) {
More information about the sword-cvs
mailing list