mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-25 16:29:49 -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;}
|
#searchvalue {font-family: georgia;}
|
||||||
#searchresults {
|
#searchresults {
|
||||||
xmargin-right: 10px;
|
|
||||||
padding: 0 10px 10px 10px;
|
padding: 0 10px 10px 10px;
|
||||||
overflow:scroll;
|
overflow:scroll;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin-right: 16px;
|
|
||||||
margin-left: 16px;
|
|
||||||
background: #eee;
|
background: #eee;
|
||||||
}
|
}
|
||||||
#searchresults ul {
|
#searchresults ul {
|
||||||
@ -125,6 +122,7 @@ a:hover {
|
|||||||
{
|
{
|
||||||
display: block;
|
display: block;
|
||||||
padding-left: 55px;
|
padding-left: 55px;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main .block {
|
#main .block {
|
||||||
|
@ -14,7 +14,7 @@ var Util = {
|
|||||||
},
|
},
|
||||||
RemoveResult: function(e) {
|
RemoveResult: function(e) {
|
||||||
var ref = $(e.target).parent().parent().children(".resultbody").children("h2").children("a").text();
|
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();
|
$(e.target).parent().parent().remove();
|
||||||
Settings.SaveResults();
|
Settings.SaveResults();
|
||||||
},
|
},
|
||||||
@ -128,7 +128,7 @@ var Search = function(sv) {
|
|||||||
var r = Bible.GetPassage(myref.book, myref.startchapter, myref.endchapter, myref.startverse, myref.endverse);
|
var r = Bible.GetPassage(myref.book, myref.startchapter, myref.endchapter, myref.startverse, myref.endverse);
|
||||||
|
|
||||||
Bible.DisplayPassage(r.cs, myref, r.testament);
|
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