in communication, on overflowX, provide scroll
diff --git a/public/js/communication.js b/public/js/communication.js
index 5e7a010..feef6c9 100644
--- a/public/js/communication.js
+++ b/public/js/communication.js
@@ -19,8 +19,9 @@
this.comm_list = [];
$.extend(this, opts);
- this.list.sort(function(a, b) { return new Date(a.modified) > new Date(b.modified)
- ? -1 : 1 })
+ this.list.sort(function(a, b) { return
+ (new Date(a.modified) > new Date(b.modified))
+ ? -1 : 1; })
this.make();
},
@@ -41,7 +42,9 @@
this.wrapper = $("<div><h4>Communication History</h4>\
<button class='btn btn-small'>Add Reply</button></p></div>")
- .appendTo(this.parent);
+ .appendTo(this.parent).css({
+ "overflow-x": "auto",
+ });
this.body = $("<table class='table table-bordered table-hover table-striped'>")
.appendTo(this.wrapper);