c++: Fix handling of the `final` contextual keyword
[geany-mirror.git] / tests / ctags / bug2888482.js
blobee863fb93ade772cdaaf2f5a007913f904280883
1 function scrollEditBox() {
2         var editBoxEl = document.getElementById("wpTextbox1");
3         var scrollTopEl = document.getElementById("wpScrolltop");
4         var editFormEl = document.getElementById("editform");
6         if (editBoxEl && scrollTopEl) {
7                 if (scrollTopEl.value) editBoxEl.scrollTop = scrollTopEl.value;
8                 editFormEl.onsubmit = function() {
9                         document.getElementById("wpScrolltop").value = document.getElementById("wpTextbox1").scrollTop;
10                 }
11         }