12315: Add "exclude child processes" checkbox to /all_processes.
[arvados.git] / apps / workbench / app / assets / javascripts / work_unit_log.js
index 4962994cdef7aec94e2d1430454b07131628da1f..c43bae0e3c7e080d01c0fc69d19e2435612777e1 100644 (file)
@@ -57,7 +57,7 @@ $(document).on('arv-log-event', '.arv-log-event-handler-append-logs', function(e
         return;
     }
 
-    wasatbottom = ($(this).scrollTop() + $(this).height() >= this.scrollHeight);
+    wasatbottom = (this.scrollTop + this.clientHeight >= this.scrollHeight);
     if (eventData.prepend) {
         $(this).prepend(txt);
     } else {