Fix lint errors

pull/1/head
yflory 7 years ago
parent 50090a3af6
commit 91381ca77d

@ -269,7 +269,6 @@ define([
var addScrollClass = function () {
var $scroll = $('#cp-app-poll-table-scroll');
var hasScroll = $scroll.width() < $scroll[0].scrollWidth && $scroll.width() > 100;
var $countCol = $('tr td:last-child');
if (hasScroll) {
$scroll.addClass('cp-app-poll-table-scrolled');
return;

@ -1,9 +1,10 @@
define([
//'/common/cryptpad-common.js',
'jquery',
'/bower_components/hyperjson/hyperjson.js',
'/bower_components/textpatcher/TextPatcher.js',
'/bower_components/diff-dom/diffDOM.js',
], function (Hyperjson, TextPatcher) {
], function ($, Hyperjson, TextPatcher) {
var DiffDOM = window.diffDOM;
var Example = {

Loading…
Cancel
Save