pluotsorbet/tests/index.js

13 строки
425 B
JavaScript
Исходник Обычный вид История

DumbPipe.registerOpener("echo", function(message, sender) {
sender(message);
});
2014-11-15 04:34:25 +03:00
var oldHeight = document.getElementById("mozbrowser").style.height;
2014-11-15 04:34:25 +03:00
DumbPipe.registerOpener("showKeyboard", function(message, sender) {
document.getElementById("mozbrowser").style.height = "50%";
});
DumbPipe.registerOpener("hideKeyboard", function(message, sender) {
document.getElementById("mozbrowser").style.height = oldHeight;
2014-11-15 04:34:25 +03:00
});