File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -245,12 +245,15 @@ <h4>REPLACEMENT SPECIES:</h4>
245245 < h4 > STREET SEGMENT:</ h4 >
246246 < span id ="sidebar-street-segment "> </ span >
247247 < div class ="sidebar-seperator "> </ div >
248+ < div id ="nominate-heritage-tree ">
248249 < div class ="sidebar-divider "> </ div >
249- < h5 > Nominate Tree</ h5 >
250- < span >
251- Impressed by this tree? Please nominate it for city recognition as a Santa Monica Heritage
252- Tree via < a href ="https://forms.gle/UDjd8CS4w2jMu8As8 "> this form</ a > .
253- </ span >
250+ < div id ="sidebar-nominate-heritage-tree ">
251+ < h5 > Nominate Tree</ h5 >
252+ < span >
253+ Impressed by this tree? Please nominate it for city recognition as a Santa Monica Heritage
254+ Tree via < a href ="https://forms.gle/UDjd8CS4w2jMu8As8 "> this form</ a > .
255+ </ span >
256+ </ div >
254257 < div class ="sidebar-seperator "> </ div >
255258 < div class ="sidebar-divider "> </ div >
256259 < h5 > Report an Issue</ h5 >
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ var initialY = null;
4141 this . address = document . getElementById ( 'sidebar-address' ) ;
4242 this . streetSegment = document . getElementById ( 'sidebar-street-segment' ) ;
4343 this . treeDetails = document . getElementById ( 'sidebar-tree-details' ) ;
44+ this . nominateHeritageTree = document . getElementById ( 'sidebar-nominate-heritage-tree' ) ;
4445 this . closeButton = document . getElementById ( 'sidebar-close-button' ) ;
4546 this . detailsButton = document . getElementById ( 'sidebar-details-button' ) ;
4647 //Heritage Trees
@@ -155,6 +156,7 @@ var initialY = null;
155156 this . image . classList . add ( 'hidden' ) ;
156157 }
157158 if ( tree . heritage === true ) {
159+ this . nominateHeritageTree . classList . add ( 'hidden' ) ;
158160 this . heritageContainer . classList . add ( 'active' ) ;
159161 this . heritageTreeNumber . innerText = '#' + tree [ 'heritageNumber' ] ;
160162 this . heritageYearInscribed . innerText = tree [ 'heritageYear' ] ;
@@ -163,6 +165,7 @@ var initialY = null;
163165 this . heritageDescription . innerText = tree [ 'heritageText' ] ;
164166 } else {
165167 this . heritageDescriptionContainer . classList . remove ( 'active' ) ;
168+ this . nominateHeritageTree . classList . remove ( 'hidden' ) ;
166169 }
167170 } else {
168171 this . heritageContainer . classList . remove ( 'active' ) ;
You can’t perform that action at this time.
0 commit comments