|
|
@ -94,14 +94,16 @@
|
|
|
|
document.getElementById('nHeader').style.left=sl+'px';
|
|
|
|
document.getElementById('nHeader').style.left=sl+'px';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
|
|
|
|
if (window.localStorage) {
|
|
|
|
|
|
|
|
var uid = localStorage.getItem('competition_uid');
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
var uid = false
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if(!uid){
|
|
|
|
|
|
|
|
var htmlvalue = "<%= escape_javascript(render :partial => 'competitions/competitions_name')%>";
|
|
|
|
|
|
|
|
pop_box_new(htmlvalue, 500, 380);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
if (window.localStorage) {
|
|
|
|
|
|
|
|
var uid = localStorage.getItem('competition_uid');
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
var uid = false
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if(!uid){
|
|
|
|
|
|
|
|
var htmlvalue = "<%= escape_javascript(render :partial => 'competitions/competitions_name')%>";
|
|
|
|
|
|
|
|
pop_box_new(htmlvalue, 500, 380);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|