Skip to content

Commit a560ef8

Browse files
committed
Material CheckBox cell fixed on FireFox
1 parent 0bfa2ef commit a560ef8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/main/java/gwt/material/design/client/custom/MaterialCheckBoxCell.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
*/
2222

2323
import com.google.gwt.cell.client.AbstractEditableCell;
24-
import com.google.gwt.cell.client.CheckboxCell;
2524
import com.google.gwt.cell.client.ValueUpdater;
2625
import com.google.gwt.dom.client.BrowserEvents;
2726
import com.google.gwt.dom.client.Document;
@@ -120,8 +119,7 @@ public void render(Context context, Boolean value, SafeHtmlBuilder sb) {
120119
String id = Document.get().createUniqueId();
121120

122121
sb.append(SafeHtmlUtils.fromSafeConstant("<span class=\"gwt-CheckBox\"><input type=\"checkbox\" tabindex=\"-1\" value=\"on\" id=\""
123-
+ id + "\" " + state));
124-
sb.append(SafeHtmlUtils.fromSafeConstant("/><label for=\"" + id + "\"></label></span>"));
122+
+ id + "\" " + state + "/><label for=\"" + id + "\"></label></span>"));
125123

126124
}
127125
}

src/main/java/gwt/material/design/client/ui/MaterialSplashScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void run() {
6767
RootPanel.get().add(getMain());
6868
}
6969
};
70-
timer.schedule(1000);
70+
timer.schedule(splashTime);
7171
}
7272

7373
public ImageResource getLogo() {

0 commit comments

Comments
 (0)