introduce datasrc2src(selector) js function
This commit is contained in:
@@ -92,6 +92,13 @@ $(document).ready(function() {
|
||||
|
||||
});
|
||||
|
||||
function datasrc2src(selector) {
|
||||
$(selector).each(function(i, el) {
|
||||
$(el).attr("src", $(el).data("src"));
|
||||
$(el).removeAttr("data-src");
|
||||
});
|
||||
}
|
||||
|
||||
function confirmDelete() {
|
||||
return confirm(aStr.delitem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user