fixed fullscreen switch;
This commit is contained in:
@@ -4,4 +4,4 @@
|
||||
= link_to image_tag("icons/player/forward.png"), "javascript:void(0);", :class=>"forward"
|
||||
= link_to image_tag("icons/player/volume.png"), "javascript:void(0);", :class=>"volume"
|
||||
= link_to image_tag("icons/player/repeat.png"), "javascript:void(0);", :class=>"repeat"
|
||||
= link_to image_tag("icons/player/fullscreen.png"), "javascript:void(0);", :id=>"full"
|
||||
= link_to image_tag("icons/player/fullscreen.png"), "javascript:void(0);", :class=>"full"
|
||||
@@ -8,19 +8,6 @@
|
||||
= favicon_link_tag
|
||||
= favicon_link_tag "9minutes-logo.png", :rel=>"icon", :type=>"image/png"
|
||||
= csrf_meta_tag
|
||||
:plain
|
||||
<meta name="msapplication-task"
|
||||
content="name=Home;action-uri=http://www.beautyoftheweb.com/#/startdeveloping;icon-uri=favicon.ico" />
|
||||
|
||||
<meta name="msapplication-task"
|
||||
content="name=Charts;action-uri=http://www.beautyoftheweb.com/#/camps;icon-uri=favicon.ico" />
|
||||
|
||||
<meta name="msapplication-task"
|
||||
content="name=Register;action-uri=http://www.beautyoftheweb.com/#/download;icon-uri=favicon.ico" />
|
||||
|
||||
<meta name="msapplication-task"
|
||||
content="name=About;action-uri=http://www.beautyoftheweb.com/#/download;icon-uri=favicon.ico" />
|
||||
|
||||
%body
|
||||
#loading Loading
|
||||
#error Error
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
$(document).ready(function() {
|
||||
$('#full').live("click",function(){
|
||||
$('.full').live("click",function(){
|
||||
if($(this).hasClass("open")) {
|
||||
$("#fullscreen").animate({
|
||||
marginTop: -300,
|
||||
@@ -12,7 +12,7 @@
|
||||
}, 500);
|
||||
$("#fullscreen_wrap").fadeTo(500, 0, function(){$(this).hide();});
|
||||
});
|
||||
$(this).removeClass("open");
|
||||
$('.full').removeClass("open");
|
||||
}
|
||||
else {
|
||||
$("#site, #bg_stripe").animate({
|
||||
@@ -27,7 +27,7 @@
|
||||
init_playlist_scrollbar();
|
||||
$("#fullscreen_wrap").fadeTo(1000, 0.5);
|
||||
});
|
||||
$(this).addClass("open");
|
||||
$('.full').addClass("open");
|
||||
}
|
||||
});
|
||||
});
|
||||
File diff suppressed because one or more lines are too long
@@ -14,7 +14,7 @@
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
.volume, .repeat, #full {
|
||||
.volume, .repeat, .full {
|
||||
margin: -5px 0 0 20px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user