mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-25 00:09:54 -04:00
BUGFIX: display and session state issues
This commit is contained in:
parent
bf76ff4f20
commit
6063a5920b
@ -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 {
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user