forked from rDrama/rDrama
test smth on devrama
parent
de3efef761
commit
884f0a6f55
|
@ -207,6 +207,16 @@ function expandImage(url) {
|
||||||
bootstrap.Modal.getOrCreateInstance(document.getElementById('expandImageModal')).show();
|
bootstrap.Modal.getOrCreateInstance(document.getElementById('expandImageModal')).show();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
document.getElementById('expandImageModal').addEventListener('hidden.bs.modal', ()=>{
|
||||||
|
console.log('nigger')
|
||||||
|
var viewport = document.querySelector('meta[name="viewport"]');
|
||||||
|
|
||||||
|
if ( viewport ) {
|
||||||
|
viewport.content = "initial-scale=0.1";
|
||||||
|
viewport.content = "width=1200";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
function bs_trigger(e) {
|
function bs_trigger(e) {
|
||||||
let tooltipTriggerList = [].slice.call(e.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
let tooltipTriggerList = [].slice.call(e.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
||||||
tooltipTriggerList.map(function(element){
|
tooltipTriggerList.map(function(element){
|
||||||
|
|
Loading…
Reference in New Issue