Commit e20a8dad authored by yff's avatar yff

大屏修改

parent 970a189c
...@@ -29,22 +29,22 @@ function exitFullscreen() { ...@@ -29,22 +29,22 @@ function exitFullscreen() {
} }
function dbenlarge(domid,isTrue,func) { function dbenlarge(domid,isTrue,func) {
let is=isTrue // let is=isTrue
document.getElementById(domid).style.backgroundColor="#FFFFFF" // document.getElementById(domid).style.backgroundColor="#FFFFFF"
document.getElementById(domid).addEventListener('dblclick', function(e) { // document.getElementById(domid).addEventListener('dblclick', function(e) {
fullScreen(document.getElementById(domid)); // fullScreen(document.getElementById(domid));
setTimeout(()=>{ // setTimeout(()=>{
if(func){ // if(func){
func() // func()
} // }
},300) // },300)
}, false); // }, false);
if(isTrue){ // if(isTrue){
fullScreen(document.getElementById(domid)); // fullScreen(document.getElementById(domid));
setTimeout(()=>{ // setTimeout(()=>{
if(func){ // if(func){
func() // func()
} // }
},300) // },300)
} // }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment