Skip to content

Commit 4ecb263

Browse files
romannurikAndroid Git Automerger
authored andcommitted
am aaaafca: docs: Android design CSS/JS fixes
* commit 'aaaafca8543eaa75f1865d70c801c9b62caa56e2': docs: Android design CSS/JS fixes
2 parents 0786bc7 + aaaafca commit 4ecb263

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/html/design/static/default.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,7 @@ video.with-shadow {
279279
background: rgba(0, 0, 0, 0.03); }
280280
#nav #back-dac-section {
281281
padding: 10px;
282-
border-top: 1px solid #ddd;
283-
background: transparent url(open_new_page.png) no-repeat scroll 139px 9px; }
282+
border-top: 1px solid #ddd; }
284283
#nav #back-dac-section a {
285284
color: #333333;
286285
font-weight: 500;
@@ -569,4 +568,4 @@ li.no-bullet {
569568
height: 12px;
570569
margin-right: 8px; }
571570
.video-instructions:after {
572-
content: 'Click or move mouse over screenshot to replay movie.'; }
571+
content: 'Click to replay movie.'; }

docs/html/design/static/default.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ $(document).ready(function() {
125125
});
126126

127127
// Set up play-on-hover <video> tags.
128-
$('video.play-on-hover').bind('mouseenter click', function(){
128+
$('video.play-on-hover').bind('click', function(){
129+
$(this).get(0).load(); // in case the video isn't seekable
129130
$(this).get(0).play();
130131
});
131132

0 commit comments

Comments
 (0)