Commit e20a8dad authored by yff's avatar yff

大屏修改

parent 970a189c
......@@ -29,22 +29,22 @@ function exitFullscreen() {
}
function dbenlarge(domid,isTrue,func) {
let is=isTrue
document.getElementById(domid).style.backgroundColor="#FFFFFF"
document.getElementById(domid).addEventListener('dblclick', function(e) {
fullScreen(document.getElementById(domid));
setTimeout(()=>{
if(func){
func()
}
},300)
}, false);
if(isTrue){
fullScreen(document.getElementById(domid));
setTimeout(()=>{
if(func){
func()
}
},300)
}
// let is=isTrue
// document.getElementById(domid).style.backgroundColor="#FFFFFF"
// document.getElementById(domid).addEventListener('dblclick', function(e) {
// fullScreen(document.getElementById(domid));
// setTimeout(()=>{
// if(func){
// func()
// }
// },300)
// }, false);
// if(isTrue){
// fullScreen(document.getElementById(domid));
// setTimeout(()=>{
// if(func){
// func()
// }
// },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