Skip to content
This repository was archived by the owner on Jun 5, 2018. It is now read-only.

Commit b850866

Browse files
committed
no more modal studd needed
1 parent 07943e5 commit b850866

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

www/templates/gerard.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ var _getjson = function(t, todate) {
267267
action = 'append';
268268
}
269269

270-
if (!lastdate) {/* first call */
270+
if (!lastdate) {/* first call, no lastdate yet */
271271
lastdate = '';
272272
this['sh_' + t] = 0; /* record type scroll height */
273273
}
@@ -343,11 +343,6 @@ var searchjson = function(q, cnt, more) {
343343
else
344344
$(cnt).css('background-image', 'none');
345345

346-
$(cnt + ' [data-toggle="popover"]').popover({
347-
container: '.modal-body',
348-
html: true,
349-
trigger: 'hover'
350-
});
351346
}
352347

353348
/**
@@ -484,7 +479,6 @@ $(function() {
484479
if (event.which == 13) {
485480
/* no date specified */
486481
searchjson(searchform.val(), '.irclive', false);
487-
/* needed so the modal does not disappear */
488482
return false;
489483
};
490484
});

0 commit comments

Comments
 (0)