BUGFIX: display and session state issues

This commit is contained in:
jason.wall 2014-12-26 14:27:52 -05:00
parent bf76ff4f20
commit 6063a5920b
2 changed files with 3 additions and 5 deletions

View File

@ -34,12 +34,9 @@ a:hover {
}
#searchvalue {font-family: georgia;}
#searchresults {
xmargin-right: 10px;
padding: 0 10px 10px 10px;
overflow:scroll;
height: 100%;
margin-right: 16px;
margin-left: 16px;
background: #eee;
}
#searchresults ul {
@ -125,6 +122,7 @@ a:hover {
{
display: block;
padding-left: 55px;
width: 100%;
}
#main .block {

View File

@ -14,7 +14,7 @@ var Util = {
},
RemoveResult: function(e) {
var ref = $(e.target).parent().parent().children(".resultbody").children("h2").children("a").text();
delete CurrentReferences[ref.toLowerCase()];
delete CurrentReferences[ref.trim().toLowerCase()];
$(e.target).parent().parent().remove();
Settings.SaveResults();
},
@ -128,7 +128,7 @@ var Search = function(sv) {
var r = Bible.GetPassage(myref.book, myref.startchapter, myref.endchapter, myref.startverse, myref.endverse);
Bible.DisplayPassage(r.cs, myref, r.testament);
CurrentReferences[ref.toString().toLowerCase()] = true;
CurrentReferences[myref.toString().toLowerCase()] = true;
}
}
}